Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi,
have you tried setting the maxJsonLength attribute in web.config?
/configuration/system.web.extensions/scripting/webServices/jsonSerialization/@maxJsonLength
See the following links
http://stackoverflow.com/questions/18223385/changing-maxjsonlength-property-in-web-config-has-no-effec
https://msdn.microsoft.com/en-us/library/system.web.script.serialization.javascriptserializer.maxjsonlength(v=vs.90).aspx
We have a .net 3.5, episerver 6 application with ImageVault 3.5.
When trying to fetch "Uploaded files" the user gets the following error:
"error during serialization or deserialization using the JSON JavaScriptSerializer".
The error occurs because the JSON string gets to long due to large amount of data.
Is there a fix for this issue or do we have to manually configurate our whole application to support longer JSON strings.
In .net >= 4 support for longer JSON strings can be cofigured easy within the web.config, but we cannot find a corresponding configuration for .net 3.5.
If anyone has any idés of how to manually configure support for longer JSON strings in a .net 3.5 application or if theres any other fixes for this issue we would be greatefull.
The key="aspnet:MaxJsonDeserializerMembers" value="2147483647" /> config does not work for us.