title: /signalr/hubs not being generated when upgrading to SignalR-2.0.0-beta2
body: <p>I have a working chat like application running on SignalR 1.1.2 that will be put onto load balanced servers, so I need to implement a backplane solution to sync up the servers. </p>
  
  <p>This is an ASP.NET MVC4 .NET 4.5 application. Using <strong>SignalR Hubs</strong>, and not Persistent Connection. The app utilizes AngularJS on the client side to handle the ui bindings and updates.</p>
  
  <p>I've followed the steps listed out <a href="http://www.asp.net/signalr/overview/performance-and-scaling/scaleout-with-sql-server" rel="nofollow noreferrer">here</a> to implement the sql server backplane and used the steps outlined in the 1.x to 2.0 migration outlined out <a href="http://www.asp.net/vnext/overview/latest/release-notes#TOC13" rel="nofollow noreferrer">here</a>. The solution builds, but when hitting the page that utilizes SignalR the "/signalr/hubs" script reference returns a 500 error. </p>
  
  <p>Here's a list of steps I took so far.</p>
  
  <ul>
  <li><p>Using nuget, removed all references and dependencies related to SignalR 1.1.2. Double checked /bin and /packages directories to make sure they no longer reference any old libraries. This is per comment found on the github <a href="https://github.com/SignalR/SignalR/issues/2242" rel="nofollow noreferrer">issue</a> relating to a 2.0 upgrade that said uninstalling and reinstalling SignalR was the way to go for an upgrade.</p></li>
  <li><p>Installed SignalR 2.0.0-beta2 via Package Manager Console (PMC)
  <code>Install-Package Microsoft.AspNet.SignalR -Pre</code></p></li>
  <li><p>Installed SQL Server Messaging Backplane using PMC <code>Install-Package Microsoft.AspNet.SignalR.SqlServer -Pre</code></p></li>
  <li><p>Removed <code>RouteTable.Routes.MapHubs();</code> from Global.asax</p></li>
  <li><p>Created Startup class in root of project. </p></li>
  </ul>
  
  <p><strong>Startup.cs</strong></p>
  
  <pre><code>using Microsoft.AspNet.SignalR;
  using Microsoft.Owin;
  using Owin;
  
  namespace My.NameSpace
  {
      public class Startup
      {
          public void Configuration(IAppBuilder app)
          {
              app.MapHubs();
          }
      }
  }
  </code></pre>
  
  <ul>
  <li><p>Added <code>&lt;add key="owin:AppStartup" value="My.NameSpace.Startup, App_Code"/&gt;</code> to <code>&lt;appSettings&gt;</code> inside Web.config</p></li>
  <li><p>Put a breakpoint in the Startup.Configuration() method and verified that it was getting hit and executing app.MapHubs without exceptions when the app started</p></li>
  <li><p>I'm not using Persistent Connection, so did not include the line <code>app.MapConnection&lt;MyConnection&gt;("/echo");</code> and am not getting any ambiguous definition issues.</p></li>
  <li><p>The chat app page references the following libs</p>
  
  <ul>
  <li>jquery-1.8.3.js</li>
  <li>jquery.signalR-2.0.0-beta2.js </li>
  <li><code>&lt;script src='/signalr/hubs'&gt;&lt;/script&gt;</code></li>
  <li>AngularJS v1.1.5</li>
  </ul></li>
  <li><p>When the project runs, <code>/signalr/hubs</code> is not found by the chat app page</p></li>
  <li><p>chrome dev tools returns <code>500 Internal Server Error</code> for the <code>/signalr/hubs</code> call on the network tab.</p></li>
  <li><p>the file system does not have a <code>/signalr/hubs</code> directory</p></li>
  </ul>
  
  <p>My next step is to see if I can create a new solution with a very basic hub and see if I can get Signal 2.0 working. If it does I'll compare the two solutions to see what the differences are. </p>
  
  <p>Does anyone have an idea of what else I could check or research to get this working?</p>
  
  <p>Related StackOverflow questions with a similar issue: <a href="https://stackoverflow.com/questions/17613255/unable-to-register-routes-in-signalr-2-0-0?rq=1">one</a>, <a href="https://stackoverflow.com/questions/17862446/how-to-use-signalr-v2-beta-in-asp-net-mvc-4">two</a></p>