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

Article translations Article translations
Article ID: 884537 - View products that this article applies to.
Expand all | Collapse all

On This Page

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

Properties

Article ID: 884537 - Last Review: April 11, 2005 - Revision: 1.2
APPLIES TO
  • Microsoft .NET Framework 1.1
Keywords: 
kbfileio kbwebservices kbwebclasses kbqfe kbnetframe110presp2fix kbfix kbbug kbprb KB884537

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com