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
Post a Comment