asp.net - SignalR: WebSockets is unsupported in the current application configuration -


i'm using signalr 2.1.2 in project. ok, today saw notifications don't work in project. tried troubleshoot issue checked windows event viewer , saw error:

exception information:      exception type: invalidoperationexception      exception message: websockets unsupported in current application configuration. enable this, set following configuration switch in web.config: <system.web>   <httpruntime targetframework="4.5" /> </system.web>.... 

i have searched lot issue. can see error message tells set targetframework, didn't result.
ps: have problem in both local version , published version.

after long time debugging figured out. forgot establish connection:

$.connection.hub.start()  }); 

Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -