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/TLSwith inner exception ofSystem.IO.IOException, Unable to read data from the transport connectionwith an inner exception ofSystem.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.
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
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
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