Link to home
Start Free TrialLog in
Avatar of Aanvik
Aanvik

asked on

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.
Avatar of Chris Bottomley
Chris Bottomley
Flag of United Kingdom of Great Britain and Northern Ireland image

Can you supply the code ... it's a generic error that is meaningless without some idea of what the code looks like.

Chris
Avatar of Aanvik
Aanvik

ASKER

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.
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
Avatar of Aanvik

ASKER

Its classic asp... not asp.net
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
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.
Avatar of Aanvik

ASKER

Hi sammySeltzer:

I tried this but same result
ASKER CERTIFIED SOLUTION
Avatar of sammySeltzer
sammySeltzer
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
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