Invalid backend response. Data is not JSON

Sep 26, 2012 at 8:59 AM


I am experiencing a problem in a .NET port for Elfinder 2.0 rc1. Uploading a file will generate the "Invalid backend response. Data is not JSON." error message in IE8, while in IE9 there is no error but the "Loading" dialog box is never hidden and a page refresh is required to see the uploaded file.

No exception is thrown in the backend C# code, and the returned JSON is valid. Any suggestions? Does this occur in your port of the elFinder .Net connector?

Sep 27, 2012 at 10:47 AM

Answering my own question here because I found the problem.

IE8 and IE9 didn't handle Content-Type = "application/json" in the response header. Wrote a blog post about it, for anyone else with a similar problem:

Oct 7, 2012 at 6:47 PM
Edited Oct 7, 2012 at 6:47 PM

in my ie9 everything is ok. i'm using elfinder 1.2 script and last engine from here