title: SignalR: Error loading hubs
body: <p>Signalr doesn't load my hubs:</p>
  
  <pre><code>SignalR: Error loading hubs. Ensure your hubs reference is correct, e.g. &lt;script src='/signalr/js'&gt;&lt;/script&gt;. 
  </code></pre>
  
  <p>I am calling <code>app.MapSignalR();</code> in <code>startup configuration</code>.</p>
  
  <p>I added to my cshtml:</p>
  
  <pre><code>&lt;script src="~/Scripts/jquery-1.9.1.js"&gt;&lt;/script&gt;
  &lt;script src="~/Scripts/jquery.signalR-2.0.0.js"&gt;&lt;/script&gt;
  &lt;script src="~/signalr/hubs" type="text/javascript"&gt;&lt;/script&gt;
  
  &lt;script&gt;
  
      $(document).ready(function () {
          window.hubReady = $.connection.hub.start();
      });
  
  &lt;/script&gt;
  </code></pre>