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.
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.
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
Chris
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
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.
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.
ASKER
Hi sammySeltzer:
I tried this but same result
I tried this but same result
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
Chris