New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

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" />

In this article
Not finding the help you need? Improve this article