How to increase MaxJsonLenght in web.config

To avoid Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property 

you can change the JSON length on your VM in the web.config file in C:\inetpub\wwwroot\tfs-jira-synchronizer\Web.config (default location of web.config file).

You can set the MaxJsonLength property on your web.config:

 

<configuration> <system.web.extensions> <scripting> <webServices> <jsonSerialization maxJsonLength="50000000"/> </webServices> </scripting> </system.web.extensions> </configuration>