Microsoft Knowledge Base Email Alertz

The data channel uses the previous IP address incorrectly when an FtpWebRequest instance in .NET Framework 2.0 uses the PASV mode on a multi-home computer

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 2058930 - Last Review: July 2, 2010 - Revision: 1.0

The data channel uses the previous IP address incorrectly when an FtpWebRequest instance in .NET Framework 2.0 uses the PASV mode on a multi-home computer

On This Page

SYMPTOMS

Consider the following scenario:
  • You assign multiple IP addresses on a network adapter of a muti-home computer.
  • You specify the adapter to use an FtpWebRequest instance in the PASV mode to connect to FTP servers by using the Microsoft .NET Framework 2.0.
  • You set the ServicePoint object in the instance to use a new IP address instead of the previous IP address of the adapter.
In this scenario, the control channel of the connection uses the new IP address but the data channel of the connection uses the previous IP adapter. 

CAUSE

This problem occurs because a method in the System.Net.FtpControlStream class does not read the value of the ServicePoint.BindIPEndPointDelegate property.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

You must have the .NET Framework 2.0 Service Pack 2 (SP2) installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply the hotfix if the affected files are not being used.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
For all supported x86-based versions of Windows Server 2003 and of Windows XP
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.dll2.0.50727.44563,186,68801-Jun-201009:57x86
For all supported x64-based versions of Windows Server 2003 and of Windows XP
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.dll2.0.50727.44563,186,68801-Jun-201009:29x64
For all supported IA-64-based versions of Windows Server 2003 and of Windows XP
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.dll2.0.50727.44563,186,68801-Jun-201009:29IA-64

STATUS

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

APPLIES TO
  • Microsoft .NET Framework 2.0
  • Microsoft .NET Framework 2.0 Service Pack 1 (x86)
  • Microsoft .NET Framework 2.0 Service Pack 2
Keywords: 
kbqfe kbHotfixServer kbsurveynew kbexpertiseadvanced KB2058930
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate