472,102 Members | 2,023 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,102 software developers and data experts.

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

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
0 3142

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Professor Frink | last post: by
reply views Thread by NicK chlam via DotNetMonster.com | last post: by
7 posts views Thread by Chuck Hartman | last post: by
1 post views Thread by =?Utf-8?B?Wmlub24=?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.