使用iis托管后,SignalR应用程序无法正常工作 [英] SignalR application not working after hosted with iis

查看:248
本文介绍了使用iis托管后,SignalR应用程序无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Hi i created a stans alone project using SignalR. Its working fine with visual studio 2012. I used dot net frame work 4 for this. But after hosting the application in iis7.5(server 2008r2) the signalR part not working. It giving the error, When i saw the client side debugged i got this

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

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

. Please help me. How to host a signalR project in iis 7.5(server 2008).

推荐答案

有3个步骤:



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



2.更新使用SignalR的网页



3.设置Windows Server 2008r2和IIS 7.5



查看下面提到的链接了解更多详情。



在Windows 2008r2和IIS 7.5上托管SignalR应用程序



我希望这对您有所帮助。
There are 3 steps:

1.Update the Signalr Application's Web.config File

2.Update the Web Page that Uses SignalR

3.Set up Windows Server 2008r2 and IIS 7.5

Check below mentioned link for more details.

Hosting a SignalR application on Windows 2008r2 and IIS 7.5

I hope this will help to you.

我遇到了同样的问题,我发现的所有解决方案都没有解决我的问题。



服务器:

Windows Server安装了2008 R2,.NET Framework 4.7,SQL Server 2008 R2,IIS 7.5以及所有需要的角色服务。



应用程序:

。 Signa 4.5.2 Net Framework 4.5.2 lR 2,ASP.NET MVC和Web API





应用程序池线程因尝试连接SignalR而被杀死。
I am have the same problem, the all solutions where i found not solves my problem.

Server:
Windows Server 2008 R2, .NET Framework 4.7, SQL Server 2008 R2, IIS 7.5 with all needed role services are installed.

App:
.Net Framework 4.5.2, SignalR 2, ASP.NET MVC and Web API


Application Pool Thread are killed trying to connect to SignalR.


这篇关于使用iis托管后,SignalR应用程序无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆