<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Simplify operation of geometry service - MaxJsonLength in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/simplify-operation-of-geometry-service/m-p/631398#M16225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use ArcGIS Server 10 SP3.&amp;nbsp; When I call Simplify (with a large geometry) operation of the geometryService, I got this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ex.:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GeometryService service = new GeometryService(this.GeometryServiceUrl);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;service.SimplifyAsync(graphics);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{"error":{"code":400,"message":"Unable to complete Simplify operation.","details":["Error during the serialization or during the deserialization by means of JSON JavaScriptSerializer. MaxJsonLength exceeded .\r\nParameter name : input"]}}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you why I get this error?&amp;nbsp; I saw that ArcGIS Server SP3 has fixed a similar issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Page: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gisupdates.esri.com/10sp3/ArcGIS/ArcGIS10sp3-issues.htm" rel="nofollow" target="_blank"&gt;http://gisupdates.esri.com/10sp3/ArcGIS/ArcGIS10sp3-issues.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NIM066822 - MaxJsonLength exceeded error message is returned when an input geometry to an SOE contains a large number of vertices.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steeve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2012 19:37:54 GMT</pubDate>
    <dc:creator>SteeveCouture</dc:creator>
    <dc:date>2012-01-25T19:37:54Z</dc:date>
    <item>
      <title>Simplify operation of geometry service - MaxJsonLength</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/simplify-operation-of-geometry-service/m-p/631398#M16225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use ArcGIS Server 10 SP3.&amp;nbsp; When I call Simplify (with a large geometry) operation of the geometryService, I got this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ex.:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GeometryService service = new GeometryService(this.GeometryServiceUrl);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;service.SimplifyAsync(graphics);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{"error":{"code":400,"message":"Unable to complete Simplify operation.","details":["Error during the serialization or during the deserialization by means of JSON JavaScriptSerializer. MaxJsonLength exceeded .\r\nParameter name : input"]}}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you why I get this error?&amp;nbsp; I saw that ArcGIS Server SP3 has fixed a similar issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Page: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gisupdates.esri.com/10sp3/ArcGIS/ArcGIS10sp3-issues.htm" rel="nofollow" target="_blank"&gt;http://gisupdates.esri.com/10sp3/ArcGIS/ArcGIS10sp3-issues.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NIM066822 - MaxJsonLength exceeded error message is returned when an input geometry to an SOE contains a large number of vertices.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steeve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 19:37:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/simplify-operation-of-geometry-service/m-p/631398#M16225</guid>
      <dc:creator>SteeveCouture</dc:creator>
      <dc:date>2012-01-25T19:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Simplify operation of geometry service - MaxJsonLength</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/simplify-operation-of-geometry-service/m-p/631399#M16226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This seem related thread: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/28386-maxjsonlength-in-ArcGIS-REST-SOE"&gt;http://forums.arcgis.com/threads/28386-maxjsonlength-in-ArcGIS-REST-SOE&lt;/A&gt;&lt;SPAN&gt;. The error description you posted is the same as the bug description I see on our system. This thread say it's fixed in 10 SP3. If you are encountering the issues still, please post on that thread.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 00:47:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/simplify-operation-of-geometry-service/m-p/631399#M16226</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2012-01-27T00:47:15Z</dc:date>
    </item>
  </channel>
</rss>

