R
Robert Pettersson
Hi,
I have built a WebService that creates an class that generates a lot of
Crystal Reports.
My class works fine and the webservice works fine in the beginning, but
after aprox 120 seconds it times out?
I have checked all my connectiontimeouts and commandtimeouts in the
webservice, and set them to high values, but it does not help.
I read that this could be a bug in the DotNet Framework? Or can you set a
timeout on a wevservice? I run the webservice from
a ASP.Net page, and I have put the webservice in a thread to let the browser
do work while the reports are generating. But I have also
tried to run it from a winapp, but same thing happens there. When I debug it
breaks in the Reference.cs under Webreferences in the project
where the "caller" of the webservice is.
This is my errormessage:
An unhandled exception of type 'System.Net.WebException' occurred in
system.web.services.dll
Additional information: The operation has timed-out.
I get a popup that gives me the choices: Break or Continue, if I choose
Break it stopps, but if I choose Continue, it
continues and generates all the reports.
If anyone could give me some solution, workaround or tips on this I would be
very greatful.
Im running .Net 1.1 and Visual Studio 2003.
Thanks,
Robert Pettersson
I have built a WebService that creates an class that generates a lot of
Crystal Reports.
My class works fine and the webservice works fine in the beginning, but
after aprox 120 seconds it times out?
I have checked all my connectiontimeouts and commandtimeouts in the
webservice, and set them to high values, but it does not help.
I read that this could be a bug in the DotNet Framework? Or can you set a
timeout on a wevservice? I run the webservice from
a ASP.Net page, and I have put the webservice in a thread to let the browser
do work while the reports are generating. But I have also
tried to run it from a winapp, but same thing happens there. When I debug it
breaks in the Reference.cs under Webreferences in the project
where the "caller" of the webservice is.
This is my errormessage:
An unhandled exception of type 'System.Net.WebException' occurred in
system.web.services.dll
Additional information: The operation has timed-out.
I get a popup that gives me the choices: Break or Continue, if I choose
Break it stopps, but if I choose Continue, it
continues and generates all the reports.
If anyone could give me some solution, workaround or tips on this I would be
very greatful.
Im running .Net 1.1 and Visual Studio 2003.
Thanks,
Robert Pettersson