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

编程入门 行业动态 更新时间:2024-10-19 01:23:37
本文介绍了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聊天应用程序

本文发布于:2023-11-07 15:12:11,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1566791.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:枢纽   应用程序   signalr   signalR

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!