An exception was thrown and did not get into IE7 (jquery.signalR-0.5.1.js, line character 22)

if (!window.JSON) { // no JSON! throw "SignalR: No JSON parser found. Please ensure json2.js is referenced before the SignalR.js file if you need to support clients without native JSON parsing support, eg IE<8."; } 

My mvc 4 is used to use the url. Hub works fine in Firefox, IE8 and Chrome, but it has problems in IE7, does anyone have the same problems?

+7
source share
1 answer

From the SignalR FAQ https://github.com/SignalR/SignalR/wiki/Faq :

Why does SignalR not work in IE6 / IE7?

SignalR requires a JSON parser and the ability to send xhr requests (for long polling). If there is not one in your browser, you will need to include json2.js in your application (SignalR will output an error saying that you need it too). You can get it on NuGet.

+5
source

All Articles