You may have to generate a memory dump file of the CGI process when the access violation occurs. Troubleshoot the CGI process executable file to determine why the CGI process terminates unexpectedly.
#502 bad gateway phpstorm code#
Scenario: When sending a request to a CGI application running via IIS, the user is presented with the following error instead of the expected response: "The specified CGI application misbehaved by not returning a complete set of HTTP headers"Ĭapturing a Netmon trace shows this sort of information: HTTP: Response to Client HTTP/1.1 Status Code = 502 - Bad Gateway This problem occurs because the CGI process terminates unexpectedly before the CGI process sends a response back to IIS 7.0 Troubleshooting When you visit the Web site in a Web browser, you may receive an error message that resembles the following: Server Error in Application "application name"ĭescription of HRESULT: Specified CGI application did not return a complete set of HTTP headers. You have a Web site that is hosted on Internet Information Services (IIS) 7.0. Microsoft makes no warranties, express or implied. This material is provided for informational purposes only. By Apurva Joshi Tools Used in this Troubleshooter: