Microsoft KB Archive/925880

= Error message when a client computer tries to access an FTP site through ISA Server 2004: &quot;Error Code: 502 Proxy Error&quot; =

Article ID: 925880

Article Last Modified on 12/4/2007

-

APPLIES TO


 * Microsoft Internet Security and Acceleration Server 2004 Enterprise Edition
 * Microsoft Internet Security and Acceleration Server 2004 Standard Edition

-



SYMPTOMS
Consider the following scenario:
 * On a client computer, Windows Internet Explorer is configured to connect to the Internet through a Microsoft Internet Security and Acceleration (ISA) Server 2004-based proxy server.
 * You have an FTP server that is configured to reject anonymous or wrong requests.

In this scenario, when the client computer tries to access an FTP site through ISA Server, the client computer may receive an error message that resembles the following:

Error Code: 502 Proxy Error.

The login request was denied. The logon account might have been disabled or logon information might have changed. Log on again to verify that the information was typed correctly. If the problem continues, report the problem to the administrator of the Internet server you are requesting.(12015)



CAUSE
This issue occurs if ISA Server does not send the authentication information to the FTP server in the first request. The FTP server closes the connection if the anonymous authentication information is not received in the first request. ISA Server usually sends the authentication information to an FTP site in the first request.

Note If you monitor FTP traffic, you may see an entry that resembles the following when the connection fails:

Port: 21 ftp Failed Connection Attempt User: anonymous Request:GET ftp://FTP_Server



RESOLUTION
To resolve this issue, log on to the FTP server by including a user name and a password in the URL. Use the following format:

ftp:// : @

Note When you follow these steps to log on to a secure FTP site, the user name and the password may be displayed in plain text in the Internet Explorer title bar or status bar.

If you monitor FTP traffic after you log on to the FTP Server by using this format, you may see an entry that resembles the following: Port:21 ftp Allowed User: anonymous Request:GET ftp://User_Name:*****@ FTP_Server /



MORE INFORMATION
For more information about how to set the password that is used when FTP mediates anonymous requests by using the WebProxyFtpClientPassword property, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms826273.aspx

Keywords: kberrmsg kbtshoot kbprb KB925880

-

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

© Microsoft Corporation. All rights reserved.