Select the product you need help with
Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 502.2 – Bad Gateway"Article ID: 942057 - View products that this article applies to. On This PageSYMPTOMSYou have a Web site that is hosted on Internet Information Services (IIS) 7.0. When you visit the Web site in a Web browser, you may receive an error message that resembles one of the following: Error message 1 Server Error in Application "application name" HTTP Error 502.2 – Bad Gateway HRESULT: 0x00000003 Description of HRESULT: Specified CGI application did not return a complete set of HTTP headers. Error message 2 Server Error in Application "application name" HTTP Error 502.2 – Bad Gateway HRESULT: 0xC00000FD Description of HRESULT: Specified CGI application did not return a complete set of HTTP headers. CAUSECause of error message 1This problem occurs because an error occurs inside the Common Gateway Interface (CGI) process. Therefore, the CGI process cannot send a valid set of HTTP headers back to IIS 7.0. When this error occurs, the CGI process does not send HTTP headers back to IIS 7.0. Or, the CGI process sends HTTP headers that are not valid back to IIS 7.0. To resolve this problem, see Resolution 1.Cause of error message 2This problem occurs because the CGI process terminates unexpectedly before the CGI process sends a response back to IIS 7.0. To resolve this problem, see Resolution 2.RESOLUTIONResolution 1Debug the CGI process to determine why the CGI process cannot send a valid set of HTTP headers back to IIS 7.0.Resolution 2Troubleshoot the CGI process executable file to determine why the CGI process terminates unexpectedly. You may have to generate a memory dump file of the CGI process when the access violation occurs.PropertiesArticle ID: 942057 - Last Review: October 2, 2007 - Revision: 1.0
|


Back to the top








