0x800a138f - JavaScript runtime error: Unable to get property 'client' of undefined or null reference
This error does not occur when I access the path to the site i.e. http://localhost:13618/
My Views are using a layout and it has all the SignalR javascript references defined.
Index.cshtml
@{
ViewBag.Title = "Apply Leave";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<head>
<meta name="viewport" content="width=device-width" />
<title>Layered Architecture Sample for .NET</title>
<script src="~/Scripts/jquery-2.1.0.min.js"></script>
<script src="~/Scripts/jquery-ui-1.10.3.min.js"></script>
<script src="~/Scripts/jquery.signalR-2.0.3.min.js"></script>
<script src="signalr/hubs"></script>
<link href="~/Content/themes/base/jquery-ui.css" rel="stylesheet" />
<link href="~/Content/Site.css" rel="stylesheet" />
</head>
<script src="signalr/hubs"></script>
<script src="~/signalr/hubs"></script>
No comments:
Post a Comment