2012-09-05 60 views
0

有沒有人得到signalR在Windows 8或Server 2012上運行?當我瀏覽到signalr URL我收到以下錯誤:與Windows 8 singalR 8

Protocol error: Unknown transport. 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.InvalidOperationException: Protocol error: Unknown transport. 

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace: 
[InvalidOperationException: Protocol error: Unknown transport.] 
SignalR.PersistentConnection.ProcessRequestAsync(HostContext context) +1052 
SignalR.Hosting.AspNet.AspNetHandler.ProcessRequestAsync(HttpContextBase context) +746 
SignalR.Hosting.AspNet.HttpTaskAsyncHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +97 
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +12551795 
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929 
+0

請提供代碼。 –

+0

您是指SignalR作爲客戶端還是服務器? –

+0

這發生在我在Windows 8和Windows 7中。 –

回答

1

SignalR工作正常的Windows 8和Server 2012中,您的問題似乎並沒有具體到OS。