I created a brand new MVC4 app. Installed new signalR package from NuGet:
Install-Package Microsoft.AspNet.SignalR –pre
Whenever I run it, it loads indefinitely. I know it is caused by SignalR => App_Start/RegisterHubs that was added during install because it never gets passed "RouteTable.Routes.MapHubs();
" line when in debug.
tried it on several machines running windows 7 and Vs2012 and IIS Express
what gives??
thanks
UPDATE:
I just tried it on my home computer. Created a brand new MVC4 app, ran nuget package install and IT WORKS FINE! :) (same set up vs2012, win7, IIS express).
This is weird because everything AT MY OFFICE worked just fine until i installed the new version of signalR.
- could it be that at work we're behind a proxy?
- -why would that make a difference?
- -how can I check if all the files are installed correctly during nuget install at work? What should should i be looking for/check?
one more thing: When I had previous/older version of signalR installed (without the RegisterHubs file) everything worked fine.
thanks
Found the solution:
Changing from IIS Express to VS Development Server OR Local IIS helped. Now everything works fine. Not sure what caused indefinite load times when running the site on IIS Express with Proxy at work.
thanks
And, For indefinite load times when running the site on IIS Express, Please check your IIS from ControlPanel-->Programs and Features-->Turn windows features on or off-->Internet Information Service. Check whether all the relevant features are assigned in World wide Web services under IIS., I came across with Same issue., I activated relevant features., Now, No indefinite loading.., :) Hope it will helpful for you or someone.
thanks, Shanthini.