Click here to Skip to main content
15,889,992 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Why I am getting the error signalr/hubs not found issue on deploying to IIS?

I am doing a sample grid application where I am able to add/delete/update the gridview data without any postback using SignalR Technology. I am using VS 2010. I am using an empty asp.net website. In local server its working fine. But not working when deploying to IIS.

I have referred the script for Signalr/hubs as below:

<script src="<%= ResolveUrl("~/signalr/hubs") %>" type="text/javascript"></script>--%>

Also added the following in web.config as shown:
XML
<validation validateIntegratedModeConfiguration="false" />
  <modules runAllManagedModulesForAllRequests="true" />



I have installed the AspNet.SignalR packages as below:
XML
<package id="jQuery" version="1.6.4" targetFramework="net40" />
 <package id="Microsoft.AspNet.SignalR" version="1.1.4" targetFramework="net40" />
 <package id="Microsoft.AspNet.SignalR.Core" version="1.1.4" targetFramework="net40" />
 <package id="Microsoft.AspNet.SignalR.JS" version="1.1.4" targetFramework="net40" />
 <package id="Microsoft.AspNet.SignalR.Owin" version="1.1.4" targetFramework="net40" />
 <package id="Microsoft.AspNet.SignalR.SystemWeb" version="1.1.4" targetFramework="net40" />
 <package id="Microsoft.Owin.Host.SystemWeb" version="1.0.1" targetFramework="net40" />
 <package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net40" />
 <package id="Newtonsoft.Json" version="4.5.11" targetFramework="net40" />
 <package id="Owin" version="1.0" targetFramework="net40" />
Posted
Comments
Mukesh Pr@sad 10-Nov-14 5:37am    
are u deploying it to IIS Express???
Kandiya 10-Nov-14 6:05am    
Yes. I am deploying the same to IIS 5.1

1 solution

SignalR is not supportable other than IIS Express.

If you are using IIS Express and still getting the same problem...
Then Reinstall your IIS Express it may have some configuration problem .
definetly after that you will not face any problem.

Thanks
 
Share this answer
 
Comments
Kandiya 10-Nov-14 6:24am    
I am using IIS 5.1.
Mukesh Pr@sad 10-Nov-14 6:31am    
yes then you need to install IIS Express. Looks like you are confused between IIS express and Other versions of IIS.
Go through the below link:-
http://www.iis.net/learn/extensions/introduction-to-iis-express/iis-express-overview
Kandiya 10-Nov-14 8:01am    
I installed the IIS express. How can I test my SignalR app in IIS 7.5 express?
Richard Deeming 24-Nov-14 8:17am    
Utter nonsense. SignalR is supported in IIS7, IIS7.5 and IIS8, not just IIS Express:
http://www.asp.net/signalr/overview/getting-started/supported-platforms[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900