Dylan, As Ben as said, you need to setup the 500-100 error handler page properly in the IIS MMC Snapin. If it is not setup as per Ben's instructons, it will not work. Note: this *only* handles errors thown by ASP pages. There are other conditions where the server might do something weird - this is handled by the generic 500 error page.
The way the 500-100 ASP error page works is when an exception is thrown in an ASP page, the ASP engine does a Server.Transfer to the configured 500-100 error handler page (thus, the page must be accessible via a URL - this is why IISHelp gets added as a virtual directory off your main website - so that ASP can run the default supplied 500-100 error handler page). Note also, that if there is an error in your 500-100 hanlder page, this will *not* be handled by the page (because that will cause some kind of weird infinite loop). If you are still having problems, please post the code you are using (eg what works, what doesn't work) so we can look at it. Cheers Ken ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ----- Original Message ----- From: "Dylan Barber" <[EMAIL PROTECTED]> To: "ActiveServerPages" <[EMAIL PROTECTED]> Sent: Tuesday, September 24, 2002 7:30 AM Subject: RE: Error Pages What I am trying to do is edit a 500.asp error page that is already set up. I keep getting a dump of the source until I remove all of the error code stuff from the page script. P.S. The site is hosted remotely so I have to ask for anything to be done. Any new ideas? -----Original Message----- From: Ben Timby [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 6:19 PM To: ActiveServerPages Subject: RE: Error Pages -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Here is all the info I can provide without more specifics from you. To register your IIS 500 handler: 1. Open Internet Services Manager 2. Right-Click site 3. Go to Custom Errors tab 4. Scroll to 500 5. Choose edit 6. Select URL from drop down 7. Type in /error500.asp 8. Make sure you place your page in the root of the site you wish to use it on. If you don't set it up as a URL, it will not run, but rather the source will be dumped to the user. Let me know if this is not the solution to your problem. Ben Timby Webexcellence PH: 317.423.3548 x23 TF: 800.808.6332 x23 FX: 317.423.8735 [EMAIL PROTECTED] www.webexc.com - -----Original Message----- From: Dylan Barber [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 11:08 AM To: ActiveServerPages Subject: Error Pages I am trying to create something similar to the 500-100.asp error page that comes with IIS. I want the page to have some of the error features that it has such as time and browser but I can't seem to get it to run on my server does anyone have an idea> __________________________________________________ Dylan Barber (CIW Professional, A+ Technician) Programmer/Analyst DPRA Inc. phone (785) 539-3565 ext.1034 e-mail [EMAIL PROTECTED] - --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% -----BEGIN PGP SIGNATURE----- Version: PGP 7.0.4 iQA/AwUBPY+hVvnby1cCm2Q8EQIU0QCgxbhlBKPtZJaZ/rotSegwxdREV0UAoLAO uSIIWci9gEf71hhjb0rQ9eR3 =KH+e -----END PGP SIGNATURE----- --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
