本文介绍了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) 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来源
更多推荐
404:signalr /枢纽signalR聊天应用程序
发布评论