Signalr stops working in ie10

I am trying to learn signalR and I have a little test. It works in IE 9 and chrome, but when I try to run it on ie10, I get t

Please make sure json2.js is referenced before the SignalR.js file if you need to support clients without

when searching for this error, it indicates that browsers are earlier than 8. 8. hoping that someone can help me point in the right direction. I tried adding the json2.js file before the r signal, and the error still occurs.

thanks shannon

Here is the complete error on request.

SCRIPT5022: SignalR: JSON parser not found. Make sure json2.js refers to the SignalR.js file if you need to support clients without JSON support, e.g. IE <8.

what you suggested seems to fix my problem. thank you

+4
source share
1 answer

You should try adding

<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> 

to your HTML page to get IE to comply with the standards. In addition, you can post a complete error.

+18
source

All Articles