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.
The .NET Framework and ASP.NET help you create web applications and services for Windows.
Subscribe to:
Post Comments (Atom)
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 ...
-
Today I will show you how to use new salesforce toolkit for .NET Application. Follows the steps: Step 1. Create a project with C# ASP.NET ...
-
Classic mode is a mode where IIS only works with ISAPI extensions and ISAPI filters directly. In fact, in this mode, ASP.NET is just an ISA...
No comments:
Post a Comment