title: "Message":"Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds
body: <p>I designed jqgrid to display data but while executing I am getting error;</p>
  
  <p>"Message":"Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.","StackTrace":" </p>
  
  <p>when i execute the grid with minimum data it runs ...</p>
  
  <p>I even tried changing web.conf by :</p>
  
  <pre><code>&lt;scripting&gt;
  &lt;webServices&gt;
    &lt;jsonSerialization maxJsonLength="50000000"/&gt;
  &lt;/webServices&gt;
  </code></pre>
  
  <p></p>
  
  <p>but error remained same..Below is my web.conf file ..</p>
  
  <pre><code>&lt;compilation debug="true" targetFramework="4.0"&gt;
          &lt;assemblies&gt;
              &lt;add assembly="MySql.Data, Version=5.0.9.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/&gt;&lt;/assemblies&gt;&lt;/compilation&gt;
      &lt;!--
        The &lt;authentication&gt; section enables configuration 
        of the security authentication mode used by 
        ASP.NET to identify an incoming user. 
      --&gt;
      &lt;authentication mode="Windows"/&gt;
      &lt;!--
         The &lt;customErrors&gt; section enables configuration 
         of what to do if/when an unhandled error occurs 
         during the execution of a request. Specifically, 
         it enables developers to configure html error pages 
         to be displayed in place of a error stack trace.
  
         &lt;customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"&gt;
           &lt;error statusCode="403" redirect="NoAccess.htm" /&gt;
           &lt;error statusCode="404" redirect="FileNotFound.htm" /&gt;
         &lt;/customErrors&gt;
      --&gt;
      &lt;pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/&gt;
  &lt;/system.web&gt;
  </code></pre>
  
  <p></p>