title: The length of the string exceeds the value set on the maxJsonLength property. in MVC3
body: <p>MVC3 (.cshtml File)</p>
  
  <pre><code>$.getJSON(URL, Data, function (data) {
  
                      document.getElementById('divDisplayMap').innerHTML = data;
  
                      if (data != null) {
                          $('#myTablesId').show();
                          tdOnclickEvent();
  
                      }
                      else {
                          $('#myTablesId').hide();
                      }
                  }).error(function (xhr, ajaxOptions, thrownError) { debugger; });
  </code></pre>
  
  <p>on Server Side</p>
  
  <pre><code> public JsonResult ZoneType_SelectedState(int x_Id, int y_Id)
      {
      JsonResult result = new JsonResult();
       result.Data = "LongString";//Longstring with the length mention below
      return Json(result.Data,"application/json", JsonRequestBehavior.AllowGet);
      }
  </code></pre>
  
  <p>from the server side i am passing the string with the length of 1194812 and more than that.
  but i am getting the error saying the </p>
  
  <pre><code>"Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property."
  </code></pre>
  
  <p>Please help me out ASP</p>