unhandled exception of type 'System.Net.WebException' occurred in system.web.services.dll

J

Joe Bloggs

I have a C# MRS application that uses the ReportingService's Render
method to retrieve a byte array containing a report.

The following error message occurs

An unhandled exception of type 'System.Net.WebException' occurred in
system.web.services.dll

Additional information: The operation has timed-out.


I saw the following post on MSDN

An unhandled exception of type 'System.Net.WebException' occurred in
system.web.services.dll Additional information: The operation has
timed-out.

To avoid this problem, set the timeout value for the XML Web service
call to infinite, as shown in this example:

Service1 obj = new Service1();
obj.TimeOut = -1; // infinite time out.

My question is how do I incorporate the code into my application - I get
a

Invalid token '=' in class, struct, or interface member declaration

Error message



*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 

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

Top