By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,238 Members | 1,804 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,238 IT Pros & Developers. It's quick & easy.

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

P: n/a
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!
Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.