[thelist] ASP.NET Errors

Ken Schaefer ken at adOpenStatic.com
Mon Jan 19 19:30:31 CST 2004


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Walter Hemingway" <walt at medianetwork.ws>
Subject: RE: [thelist] ASP.NET Errors


: Thanx I will try that. I am also getting an error when I
: try to run some of my asp pages. I think it is only when the
: vbscript has a bug. Instead of the error page showing errors,
: it try's to download as a file. As if I don't have the server
: running. At least for the 100-500 error reporting asp page.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Is this a custom 500-100 error handler page that you created? If so, then
you need to make sure that the type is "URL" not "File"

Open the IIS Admin MMC Snapin, right-click on the website/folder in
question -> Properties -> "Custom Errors" tab -> select "500;100" -> Click
"Edit Properties" button -> Set "message type" to "URL", and enter a valid
URL (eg /errors/500ErrorHandler.asp). If you want to use the default
supplied error handler page, you should have: "/iisHelp/common/500-100.asp"
as the URL (without the quotes).

You can also change this using command line scripting if you want via the
adsutil.vbs admin script.

Cheers
Ken

Microsoft MVP - Windows Server (IIS)



More information about the thelist mailing list