Webservice times out?

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top