Edit this page

Maximum Length Exceeded Error in WebService Data Binding


When you load a lot of nodes via WebService you receive an error "Maximum length exceeded".


Extend the maxJsonLength property, by adding the following section to your web.config file, at the configuration level, after the system.web node:


<jsonSerialization maxJsonLength="5000000" />