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.
LVL 5
AanvikAsked:
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.

Chris
0
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.
0
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.

Chris
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

AanvikAuthor Commented:
Its classic asp... not asp.net
0
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.

Chris
0
sammySeltzerCommented:
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.
0
AanvikAuthor Commented:
Hi sammySeltzer:

I tried this but same result
0
sammySeltzerCommented:
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.
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
G_HCommented:
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.

GH
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
ASP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.