Monday, June 16, 2014

SignalR doesn’t work in IE – Internet Explorer (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)

Today I was working on SignalR Application and I got this error (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, e.g. less than IE 8.)

The very simple solution to fix this issue is “Just download JSON2 from Manage NuGet Packages and Install it”.

Steps are:
1. Right click on your project and click on “Manage NuGet Packages”

2. Now, in NuGet window, search “Json2” like following: (Note: you can click on Online, which is on left of NuGet window, to get it from online)



3. Once you have it, just click on “Install” button to install it in your project.

4. Once installation is complete, it will be like following in your project. (make sure that json2.js file will be before SignalR.js)



Now run your app and it works fine.

No comments:

Post a Comment

React-select is very slow on larger list - Found solution - using react-window

 I had more than 4000 items in searchable dropdownlist. I have used react-select but it was very slow. finally I found complete solution to ...