Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/925880

From BetaArchive Wiki
Knowledge Base


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

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://User_Name:Password@FTP_Server


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:

Keywords: kberrmsg kbtshoot kbprb KB925880