Re: System.Net.WebException: The operation has timed-out again

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I think this is the web service actually timing out. There is a setting in
the web.config file of the web service.

<httpRuntime executionTimeout="1000" />

The timeout is measured in seconds, you may want to see what works best for
you.

<arun.hallan@xxxxxxxxx> wrote in message
news:1156153274.212595.196800@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I know this has been asked umpteen times but i cant find an answer to
my problem.

Very simply, i have a GUI which is trying to call a webservice. The
webservice may take any time from 5mins to 30mins (or more). However
after 2mins i get the following error:

System.Net.WebException: The operation has timed-out

The webservice doesnt return anything. I tried the whole thing with the
method i'm calling returning a boolean, but the error still occurs.

This is an issue with the GUI timing out calling the webservice - as
the underlying webservice still runs in the background.

Anyone come across this and know how to solve?



.



Relevant Pages

  • Re: Tools for WebServices
    ... what does happen when the WebService i'm calling is being invoked. ... is there any tool (either in VS.Net or from third party) ... Or you can open the web service in IE - it should provide more convenient to use information. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Web Page & WebService Threading Example
    ... for calling a long run webservice method from an ASP.NET web application. ... Microsoft MSDN Online Support Lead ... You could install something like a web service that did the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Web Page & WebService Threading Example
    ... I have a Web page which calls a WebService, this web service call might take ... I was thinking of having a webpage query the webservice every minute to keep ... A web service spans a thread and returns some thread id to the calling ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: WinForms and WebServices
    ... The OP wants to create a WebService and a WebForms application to ... who will install the WebService on their Web servers. ... When that is installed your program can reference to that. ... So you say that I can change the web service URL in the config file at run ...
    (microsoft.public.dotnet.languages.vb)
  • Re: WinForms and WebServices
    ... The OP wants to create a WebService and a WebForms application to ... who will install the WebService on their Web servers. ... When that is installed your program can reference to that. ... So you say that I can change the web service URL in the config file at run ...
    (microsoft.public.dotnet.languages.vb)