Error during serialization or deserialization using the JSON JavaScriptSerializer
I'm facing a problem on asp.ne framework application:
On sending a form to action I receive a complex type that is automatic deserialized by JavaScriptDeserializer.Deserealize(), but even without entering inside the action is throwing an error on:
"[ArgumentException: Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
Parameter name: input]
System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) +280"
I already setted all possible configs on web.config, but it seeams is being ignored by iisexpress:
Can somebody help me?
0 Replies