I am trying to get a base64 coded image and getting it in a json string. Then I decode it and show in my app. That works until I try to get a bigger image where I get the following message:
Spanish:
System.InvalidOperationException: Error durante la serialización o deserialización mediante JavaScriptSerializer de JSON. La longitud de la cadena supera el valor establecido en la propiedad maxJsonLength.
English:
Exception information:
Exception type: InvalidOperationException
Exception message: Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
The json string I am trying to get is less than 3000000 characters.
I was looking information about it and I found this:
http://stackoverflow.com/questions/1151987/can-i-set-an-unlimited-length-for-maxjsonlength-in-web-config
But the error persists.
I am using libraries HTTP (v1.36) and JSON (v1.10).
Thank you very much in advance
Spanish:
System.InvalidOperationException: Error durante la serialización o deserialización mediante JavaScriptSerializer de JSON. La longitud de la cadena supera el valor establecido en la propiedad maxJsonLength.
English:
Exception information:
Exception type: InvalidOperationException
Exception message: Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.
The json string I am trying to get is less than 3000000 characters.
I was looking information about it and I found this:
http://stackoverflow.com/questions/1151987/can-i-set-an-unlimited-length-for-maxjsonlength-in-web-config
But the error persists.
I am using libraries HTTP (v1.36) and JSON (v1.10).
Thank you very much in advance