FIX: You may receive a "System.Net.WebException" error message when you upload a large file over a SSL connection in the .NET Framework 1.1 (884537)



The information in this article applies to:

  • Microsoft .NET Framework 1.1

SYMPTOMS

When you use classes in the System.Net namespace to upload a large file over a Secure Sockets Layer (SSL) connection in the Microsoft .NET Framework 1.1, you may receive one or both of the following error messages:
System.Net.WebException, The request failed with HTTP status 401: Unauthorized.
System.Net.WebException, The underlying connection was closed: Could not establish secure channel for SSL/TLS with inner exception of System.IO.IOException, Unable to read data from the transport connection with an inner exception of System.ObjectDisposedException, Cannot access a disposed object named "System.Net.TlsStream
For example, an error may occur when you use the WebRequest.GetRequestStream method to return a stream to write a large file to an Internet resource.

Note This problem may be hard to reproduce, because it depends on several factors. For example, this problem depends on network reliability and on computer speed. These exceptions occur when you are using NTLM authentication. However, these exceptions may also occur when you are using other authentication schemes.

RESOLUTION

How to obtain the hotfix

This problem is fixed in the .NET Framework 1.1 Post-Service Pack 1 rollup package for System.dll. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

887563 Availability of the .NET Framework 1.1 Post-Service Pack 1 rollup package for System.dll

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Modification Type:MajorLast Reviewed:4/11/2005
Keywords:kbFileIO kbWebServices kbWebClasses kbQFE kbNetFrame110preSP2fix kbfix kbBug kbprb KB884537 kbAudDeveloper