This documentation is archived and is not being maintained.
Troubleshooting Exceptions: System.Net.WebException
Aexception is thrown when an error occurs while accessing the network through a pluggable protocol.
- Check the Response property of the exception to determine why the request failed.
When a WebException exception is thrown by a descendent of theclass, the property provides the Internet response to the application.
- Check the Status property of the exception to determine why the request failed.
Theproperty of the exception provides status information for the error. For more information, see .
- If you are timing out when stepping into an XML Web Service, set the timeout value for the XML Web Service call to infinite.
For more information, see.