I recently deployed an MVC application to our production Windows 2003 Server and received an error that plagued me for longer then I care to admit. The error manifested when the Infragistics data grid attempted to render. The header would render, but the data area was empty and the waiting icon appeared and stayed.
The script error associated with the problem is:
The remote request to fetch data has failed: (parsererror)
'JSON' is undefined
It turns out that the default compatibility settings in Internet Explorer 8 (IE8) have Intranet applications put into compability mode. That essentially sets it to run as IE7. Therefore, the application wouldn't work right, because IE7 doesn't have support for JSON.
Here's how to fix it:
- Click Compability View Settings from the Tools menu
- Unselect Display intranet sites in Compatibility View
- Click Close