Re: error: The operation has timed-out (executionTimeout?)



Isn't Command.Timeout for database connections? I am dealing with Crystal
reports DLLs that run reports and return a file to the web service, which
returns them to my web app. The database connections do not appear to be a
problem, although I am nto ruling anythign at just yet.

I have set my Webservice.Timeout=300000 (milliseconds I think, since 300
timed out instantly) in the code that calls the web service, and now I am
getting an error at 5 minutes instead of 90 seconds. From what can see it
seems to be working as I want it, but more testing is needed. I am
purposely sending bad criteria to make the report run for a longer period,
so I can see what effect the parameters have.

Once I figure out just what makes the difference I'll post the solution
here. In the mean time, any additional advice is apreciated.


"Jeff Dillon" <jeffdillon@xxxxxxxxxxx> wrote in message
news:OimI40xXGHA.3444@xxxxxxxxxxxxxxxxxxxxxxx
You need Command.TimeOut, not connection or Server.Timeout

Jeff
"bruce barker (sqlwork.com)" <b_r_u_c_e_removeunderscores@xxxxxxxxxxx>
wrote
in message news:%23CTUOixXGHA.3656@xxxxxxxxxxxxxxxxxxxxxxx
the webservice call can also timeout. you need to set its timeout also.

-- bruce (sqlwork.com)



"Jim Underwood" <james.underwoodATfallonclinic.com> wrote in message
news:OtRBdAxXGHA.3496@xxxxxxxxxxxxxxxxxxxxxxx
I am having a problem with my web page timng out while retrieving a long
runnign report (90-120 seconds. I have tried modifying several
settings
in
various places and cannot get it to run for more than 90 seconds.

I am running VS.Net and the app is ASP.Net, written using VB.Net. The
app
calls an asp.Net web service to retrieve the report. Both the web site
and
the web service are running locally on my PC.

I have tried modifying the executionTimeout setting in Web.Config for
both
the site and the web service, and I have also modified the
executionTimeout
setting in machine.config. In all cases the value is set to 300
(seconds).

.Net Version is 1.1.4322.2032.

I also tried modifying my web site to timeout in 300 seconds using
Server.ScriptTimeout = 300
with no effect.

Both the web site and the web service have been compiled as "release",
and
not as "debug".

If anyone can provide any suggestions, I would very much apreciate it.

Below are sections of each of my config files.

System.web settings for My web site web.config
<system.web>
<compilation defaultLanguage="vb" debug="false" />
<httpRuntime executionTimeout="300" maxRequestLength="4096"
useFullyQualifiedRedirectUrl="false" minFreeThreads="8"
minLocalRequestFreeThreads="4" appRequestQueueLimit="100"
enableVersionHeader="true"/>
....
</system.web>

System.web settings for My web service web.config
<system.web>
<compilation defaultLanguage="vb" debug="false" />
<httpRuntime executionTimeout="300" maxRequestLength="4096"
useFullyQualifiedRedirectUrl="false" minFreeThreads="8"
minLocalRequestFreeThreads="4" appRequestQueueLimit="100"
enableVersionHeader="true"/>
....
</system.web>

System.web settings from machine.config
<system.web>
<httpRuntime executionTimeout="300" maxRequestLength="4096"
useFullyQualifiedRedirectUrl="false" minFreeThreads="8"
minLocalRequestFreeThreads="4" appRequestQueueLimit="100"
enableVersionHeader="true"/>
<compilation debug="false" explicit="true" defaultLanguage="vb">
...
</system.web>








.



Relevant Pages

  • Re: an OO design question
    ... I see absolutely no reason to use a web service in this system. ... sending data to you over HTTP. ... I can see a strategy pattern for handling the upload to the third party ... > ascii spool report files are uploaded from various sources ...
    (microsoft.public.dotnet.general)
  • Re: error: The operation has timed-out (executionTimeout?)
    ... Actually, there was no SQL timeout issue in this case, and when I said ... fixing the performance of this particular report. ... I had to set executionTimeout in both my web site and the web ... web service timing out, then my web site timing out it's own request to the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: error: The operation has timed-out (executionTimeout?)
    ... calls an asp.Net web service to retrieve the report. ... I have tried modifying the executionTimeout setting in Web.Config for both ... I also tried modifying my web site to timeout in 300 seconds using ... System.web settings for My web site web.config ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: error: The operation has timed-out (executionTimeout?)
    ... I have tried modifying several settings ... calls an asp.Net web service to retrieve the report. ... I also tried modifying my web site to timeout in 300 seconds using ... System.web settings for My web site web.config ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: error: The operation has timed-out (executionTimeout?)
    ... undesirable since it would affect every web app on the box. ... I also had to add a line to my code where I call the web service, ... I have tried modifying several settings ... I also tried modifying my web site to timeout in 300 seconds using ...
    (microsoft.public.dotnet.framework.aspnet)