Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Our Sliverlight application (using V2.4) make a call to custom GP Toool which executes huge process which last for more than 10 min (avg), but before that client gets timed out. After going through all forums. a) Increased executiontime out value b) Increased GP Tool client timeout values but nothing worked. Any best methods to find the root cause. In Fiddler we are getting timeout exception in stack trace.

Below is the exact message from fiddler tool

Server Error in '/ArcGIS/rest' Application.


Request timed out. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Request timed out.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): Request timed out.]

Note : URL is available and able to browse in REST.This is an post request.

Please help on this

share|improve this question
    
isn't your ArcGIS Server logging any errors during the request? Also, a request this long should be made asynchronously and its status checked using something like checkJobStatus (JS API). Then you shouldn't see the same timeout –  tomfumb Nov 6 '12 at 21:26
    
@tomfumb ArcGIS server does not log any error. We are using asynchronous call only. It works in REST but not from client application. The error message says just remote server returned an exception. –  iamlaksh1 Nov 8 '12 at 11:42
    
I could see an entry in restlog.txt like this : 11/8/2012 6:06:40 AM ERROR:Thread was being aborted. :: at ESRI.ArcGIS.REST.GPServer.SubmitGPTaskJsonFormatter.Init() at ESRI.ArcGIS.REST.RequestHandler.ProcessRequest() at ESRI.ArcGIS.REST.RestHttpHandler.System.Web.IHttpHandler.ProcessRequest(HttpCont‌​ext context) server1/ArcGIS/rest/services/CustomTools/GPServer/CustomTool/…{"geometryType":"esriGeometryPolyline","spatialReference}... –  iamlaksh1 Nov 8 '12 at 12:16
    
Issue has been resolved by myself. Posted solution in gisprog.wordpress.com/2012/11/09/error –  iamlaksh1 Nov 12 '12 at 9:59
add comment

1 Answer

I have resolved the issue and answer is here http://gisprog.wordpress.com/2012/11/09/error/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.