Setting up 500 Error Emails
Z:\1688\generic\website\errors
File: 500.asp - custom 500 error page
File: error-test.asp - for testing
Step 1:
Copy files above into project, you may need to correct:
a) the includes
b) format of sendmail function
To test you should be able to execute the 500.asp page - note any errors and correct until it runs successfully.
Step 2:
Go to: IIS, Site > Error Pages
Add:
Status Code: 500.100
Execute a URL on this site: Use url relative to site i.e. /errors/500.asp
Step 3:
Test
Execute the error-test.asp file. This should trigger an email to
Step 5:
Remove error-test.asp
CE
