Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

HTTP Error 502.2 - Bad Gateway

HTTP Error 502.2 - Bad Gateway
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "".

i am using windows server 2008, iis7, odbc connection, fcgi

I cant copy and paste the code,
so what is a general description of error
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

That is an exact description of the error.  If the CGI application doesn't run or closes with an error, it can cause that because it didn't send any info back.  What code is causing that error?
Avatar of rgb192

ASKER

i am not sure of the error because it is a large cms

how could I echo error to screen
You probably can't... because it is not returning proper headers.  You'll have to look at whatever logs are available on the server.
Avatar of rgb192

ASKER

or how to make it return proper headers
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgb192

ASKER

thanks