ASP Error

I am working on a class asp application, and one of the page is showing following error

The page cannot be displayed because an internal server error has occurred.

I tried putting response.write and response.end to the top but still the same.
I have no idea where to start and any help would be appreciated.
Who is Participating?
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.

Chris BottomleySoftware Quality Lead EngineerCommented:
Can you supply the code ... it's a generic error that is meaningless without some idea of what the code looks like.

AanvikAuthor Commented:
It is actually a very big code and I was wondering if anyone could help me displaying the error message instead of generic message... so I can correct the error.
Chris BottomleySoftware Quality Lead EngineerCommented:
Have you tried looking at the code behind the displayed page ... see if there is an error message detailing a line which is failing.

OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

AanvikAuthor Commented:
Its classic asp... not
Chris BottomleySoftware Quality Lead EngineerCommented:
Yeah, you right click on the displayed page and view code ... if it displays an error report at the end then it will poit to a code line ... .in point of fact I assume it will be the same in .net but I am speaking from a basic level of classic ASP experience.

Try this:

Open up your browser.

Click on Tools

Click on Internet Options

Click on Advanced tab,

Scroll down till you see "show http friendly error messages"

Un check that box.

Click Apply

Click Ok.

Close everything and run your app again.

It will reveal the actual issue you have.
AanvikAuthor Commented:
Hi sammySeltzer:

I tried this but same result
are  you running on iis7?

If yes, try this:

Login as an admin on the IIS server,
open IIS 7 Manager,
the open the Asp icon under the Web site you want to change the error messages for

Ths will be on the right with all the other icon.

Scroll down and change Send Errors To Browser to True.

You may or may not have to reset iis but try this.

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
Look at the logfiles for the website. You should see that the request for the page is there.

The status code should be 500.

Near the beginning of the line you may see two numbers in square brackets... []

One of the numbers is the line number on which the error happened, and the other is one of the generic error numbers which rarely mean anything.

The line number may help you figure-out where the code is breaking.

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

From novice to tech pro — start learning today.