Connection Errors and Timeouts When Using Web Services

You may encounter connection errors when running load tests to a Web service. For example, you may see an error similar to the following:

  1. The underlying connection was closed: The connection was closed unexpectedly

  2. The underlying connection was closed: An unexpected error occurred on a receive

  3. TimeoutException

To resolve these problems, you may need to modify the Web service configuration or the client configuration.

For information on modifying the Web service configuration, refer to Modifying the Web.config File.

For information on client parameters, see Microsoft knowledge base article 821268 at http://support.microsoft.com/kb/821268.