404:signalr /枢纽signalR聊天应用程序

404:signalr /枢纽signalR聊天应用程序

问题描述:

我想创建一个使用signalR在网站中使用VS2012网络聊天应用程序。
但它显示我的错误是这样的:

I am trying to create a chat application using signalR using VS2012 web in a website. But its showing me error like this:

Failed to load resource: the server responded with a status of 404 (Not Found)   
http://localhost:50780/WebApplication1/WebApplication1/signalr/hubs
Uncaught TypeError: Cannot read property 'client' of undefined

我已经加入 RouteTable.Routes.MapHubs(); 来的Global.asax
但为什么它显示我此错误时开放供其他的系统中。

I have added RouteTable.Routes.MapHubs(); to Global.asax But why should its showing me this error when its opening for other's system.

我知道,我来晚了,但对于SMBD谁将会寻找答案:
我已经解决了由registrate的.Net框架的工作IIS的问题。
下一步步入控制台(WIN + R):

I know, that I'm late, but for smbd who will finding answers: I've resolved the problem by registrate .Net frame work to IIS. Do next steps into console (Win+R):

cd %windir%\Microsoft.NET\Framework\v4.0.30319
aspnet_regiis.exe –i

来源