p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Internet Information Services (http://p2p.wrox.com/forumdisplay.php?f=262)
-   -   General solution to handle web application errors? (http://p2p.wrox.com/showthread.php?t=55902)

woojtii March 27th, 2007 08:31 AM

General solution to handle web application errors?
 
Hello,


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?




Thanks!


Wojtek


dparsons March 27th, 2007 08:42 AM

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:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========


All times are GMT -4. The time now is 01:21 AM.

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