Microsoft KB Archive/884537

= FIX: You may receive a &quot;System.Net.WebException&quot; error message when you upload a large file over a SSL connection in the .NET Framework 1.1 =

Article ID: 884537

Article Last Modified on 4/11/2005

-

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 &quot;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



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; 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

Additional query words: buffer size

Keywords: kbbug kbfix kbqfe kbwebclasses kbprb kbwebservices kbfileio kbnetframe110presp2fix KB884537

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.