customErrors mode="Off" not working

C

Cam

On one of our web sites, we want detailed errors to appear on remote browsers.

The web.config of the application and the web.config in all parent folders
up to the web site root and the machine.config all contain a <customErrors>
block where the mode property is set to "off".

In ASP.NET 1.1, we see the detailed error only when running the browser on
the same machine as the web server. On any other computer, all we get (from a
test app that intentionally generates a 500.19) is "The page cannot be
displayed because an internal server error has occurred."
What other settings need to be set?
 
A

Adrienne Boswell

Gazing into my crystal ball I observed =?Utf-8?B?Q2Ft?=
On one of our web sites, we want detailed errors to appear on remote
browsers.

The web.config of the application and the web.config in all parent
folders up to the web site root and the machine.config all contain a
<customErrors> block where the mode property is set to "off".

In ASP.NET 1.1, we see the detailed error only when running the
browser on the same machine as the web server. On any other computer,
all we get (from a test app that intentionally generates a 500.19) is
"The page cannot be displayed because an internal server error has
occurred." What other settings need to be set?

There was no way for you to know it (except maybe by browsing through
some of the previous questions before posting yours - always a
recommended practice), but this is a classic (COM-based) asp newsgroup.
ASP.Net is a different technology from classic ASP. While you may be
lucky enough to find a dotnet-savvy person here who can answer your
question, you can eliminate the luck factor by posting your question to
a newsgroup where the dotnet-savvy people hang out. I suggest

microsoft.public.dotnet.framework.aspnet.

There are also forums at www.asp.net where you can find a lot of people
to help you.

(Thanks, Bob)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top