Hello all,
I've been struggling on this for a couple of days now so any help would be really greatly appreciated!
Since upgrading to v5.01.02, when in edit mode, drop down menu's for all modules no longer are displayed and there is simply an ajax loading gif that is displayed instead.
The exception generated is: 'Sys.ArgumentException: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON. Parameter name: data' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no]
It fails on the following javascript found in dnn.xmlhttp.js: var ret=Sys.Serialization.JavaScriptSerializer.deserialize(res). I debugged and walked through this, and the exception is thrown on the eval function within scriptresource.axd due to incorrect formatting of the JSON (the res parameter).
I found a workaround from another thread which is to simply replace the dnn.xmlhttp.js with one contained in the 5.01.02 upgrade package (as this file for some reason no longer includes this deserialize call) although I would like to find the root cause as this same file works perfectly in our production environment and I would like to determine why it does not work on our development environment? The website/js directories are identical on both environments, although it is possible that files in the bin directory or other forlders may be (although should not be) different.
Does anyone have any ideas or suggestions, or know where this JSON string is generated so that I can determine where this error is coming from on my development environment?
Thanks so much for your time and help,
George