Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Servers > Internet Information Services
Internet Information Services Limit this to IIS questions and posts. ASP/ASP.NET questions should still go in the ASP/ASP.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Internet Information Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 27th, 2007, 08:31 AM
Authorized User
Join Date: Jun 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default General solution to handle web application errors?


We have many web applications on our web server (Windows 2003 IIS 6.0).

We would like to have one solution to handle all web application errors:

- Redirect to general error website

- Send e-mail alert to server admin

We do not have access to source code of all our web applications (ASP.NET), so we cannot always handle errors in source code.

Do you know any good solution for this scenario?

One of our ideas was to set custom error section in web.config files, and redirect users to ASP.NET web application.

This application has to display user-friendly message and send email.

The problem is that such web page is potentially security hole!

Anyone can access such page and generate hundreds of email messages.

Maybe is it workaround for this?



Reply With Quote
  #2 (permalink)  
Old March 27th, 2007, 08:42 AM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

You could setup a page that will display a user friendly message to the user but if you do not have access to the source code, how are you going to be able to tell the administrators what happened to cause the error?

================================================== =========
Read this if you want to know how to get a correct reply for your question:
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
================================================== =========
Why can't Programmers, program??
================================================== =========
Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors opening solution, HELP doanhvu BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 June 19th, 2006 08:34 PM
Two errors opening the solution. oscardex BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 June 16th, 2006 02:37 AM
General web based Excel VBA Appl. querry jmax3264 BOOK: Excel 2003 VBA Programmer's Reference 0 March 13th, 2006 01:49 PM
Errors in chat application symeona All Other Wrox Books 1 March 11th, 2005 11:18 PM
General Application Questions. RPG SEARCH ASP.NET 1.x and 2.0 Application Design 2 March 2nd, 2005 12:38 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.