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