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
LVL 1
rgb192Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
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?
0
rgb192Author Commented:
i am not sure of the error because it is a large cms

how could I echo error to screen
0
Dave BaldwinFixer of ProblemsCommented:
You probably can't... because it is not returning proper headers.  You'll have to look at whatever logs are available on the server.
0
CompTIA Network+

Prepare for the CompTIA Network+ exam by learning how to troubleshoot, configure, and manage both wired and wireless networks.

rgb192Author Commented:
or how to make it return proper headers
0
Dave BaldwinFixer of ProblemsCommented:
You really have to look at the logs and see what file is causing the error.  Then look at the file and figure out why.  I can't give you a simple answer to your question.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rgb192Author Commented:
thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.