使用iis托管后,信号器应用程序无法正常工作

时间:2013-10-14 06:18:42

标签: asp.net iis-7.5 signalr

您好我使用SignalR创建了一个独立项目。它与visual studio 2012一起工作正常。我使用了dot net frame work 4。但在iis7.5(服务器2008r2)中托管应用程序后,signalR部分无法正常工作。它给出了错误,当我看到客户端调试时我得到了这个:

"GET http://ChatApplication/chat/negotiate?_=1381730636439 404 (Not Found)".

请帮帮我。如何在iis 7.5(server 2008)中托管signalR项目。

1 个答案:

答案 0 :(得分:0)

有3个步骤:

1.更新Signalr应用程序的Web.config文件

2.更新使用SignalR的网页

3.设置Windows Server 2008r2和IIS 7.5

检查下面提到的链接以获取更多信息。它已解释了如何执行此操作的步骤。

Hosting a SignalR application on Windows 2008r2 and IIS 7.5

<强>更新

根据OP的反馈,您可以通过安装下面提到的IIS更新来解决此问题。

A update is available that enables certain IIS 7.0 or IIS 7.5 handlers to handle requests whose URLs do not end with a period

我希望这会对你有所帮助。