If you get the Message Length Exceeded error then open your web.config file and increase maxJsonLength to something bigger than 500
Look for this tag: <jsonSerialization maxJsonLength="500">
Do not make it too big because you might be introducing other problems ;-)
Sunday, April 8, 2007
ASP.NET AJAX: Message Length Exceeded Error Fix: Increase Your Max Json Length
Subscribe to:
Post Comments (Atom)
1 comment:
What does the 500 represent? I have not been able to find what the unit type is... it's not characters in the JSON request... unless it's maybe counting the characters it adds behind the scenes? What is a good suggestion for MaxLenght and what sorts of other problems could you encounter if it's too high? A security issue, are there known issues?
Post a Comment