I use ArcGIS Server 10 SP3. When I call Simplify (with a large geometry) operation of the geometryService, I got this error:
Ex.:
GeometryService service = new GeometryService(this.GeometryServiceUrl); service.SimplifyAsync(graphics);
Error:
{"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"]}}
Do you why I get this error? I saw that ArcGIS Server SP3 has fixed a similar issue:
This seem related thread: http://forums.arcgis.com/threads/28386-maxjsonlength-in-ArcGIS-REST-SOE. 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.