我正在使用SignalR(v1.1.0)开发在ASP.NET(.NET 4.5)上集成到网站的网络聊天。还使用WCF服务聊天连接到Jabber服务器。有时我会在外部代码中收到下一个异常:
远程例外:
对象'xxx.rem'已断开连接或不存在 服务器
完整Stacktrace:
System.Runtime.Remoting.RemotingException was unhandled
HResult=-2146233077
Message=Object '/76fe3e3d_b7ca_4973_9cf3_9d84e6d4268a/9emtey6i64mqzcxou+wc1_5x_808.rem' has been disconnected or does not exist at the server.
Source=WebDev.WebHost40
StackTrace:
at Microsoft.VisualStudio.WebHost.Connection.get_Connected()
at Microsoft.VisualStudio.WebHost.Request.IsClientConnected()
at System.Web.HttpResponse.get_IsClientConnected()
at System.Web.HttpResponseWrapper.get_IsClientConnected()
at Microsoft.Owin.Host.SystemWeb.OwinCallContext.CheckIsClientConnected(Object obj)
at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireQueuedTimerCompletion(Object state)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
InnerException:
我注意到当客户端尝试连接到SignalR hub时会发生这种情况。
我确实没有在SO和其他资源中找到有关它的有用信息。 我不知道它是什么以及它应该如何修复。请你解释一下。任何信息都会有所帮助。
答案 0 :(得分:0)
停止使用cassini(WebDev服务器),升级到IIS express并感到高兴