increase timeout for WebAdaptor

3400
3
11-07-2012 12:51 AM
by Anonymous User
Not applicable
Original User: OlegG

How to increase timeout for WebAdaptor (IIS)?
I've changed timeout in IIS settings (app pool settings) and I've added to Web Adaptor web.config the line
<httpRuntime maxRequestLength="2097151" executionTimeout="10000000" />
But it seems that web adaptor waits for about 100 seconds from ArcGIS Server and than it stops to work.
How to make timeout more than 100 seconds? (I have a very complicated geoprocessing task and it processes for about 2-3 minuts)

Thanks
0 Kudos
3 Replies
KevinGooss
Occasional Contributor
I'm not sure about timeouts. But it seems like a long running gp like that should be set up to run asynch. That way you submit the job and then poll for results (or await a callback) rather than waiting around. Your app could then move on and let the user do something else.
0 Kudos
by Anonymous User
Not applicable
Original User: gvernar

I am facing the same issue, and I have no means to change my service to asynchronous, it's Network Analysis, not Geoprocessing.
I just need to be able to solve long routing problems.
0 Kudos
KeG
by
New Contributor II
I'm confused about your question. Is your service a map service or a gp service? Doesn't NA run as a gp service? Are you coding your routing in python, C#, VB.NET?
0 Kudos