Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Web Hosting Forum


You are currently viewing our Web Hosting Forum as a guest. Please register to participate.
Login



Reply
General solution to handle web application errors?
Old 03-27-2007, 11:20 AM General solution to handle web application errors?
Novice Talker

Posts: 9
Trades: 0
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

Last edited by woojtii; 03-27-2007 at 11:23 AM..
woojtii is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-27-2007, 11:48 AM Re: General solution to handle web application errors?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
I'd go the custom 500/404 routes. The user-frienliness outweighs the security risk, and if something does come along and generates hundreds of mail messages in a short time period (in 7 years of using custom 500/404s, I've never seen that happen), you can always blacklist the rogue.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)

Last edited by ADAM Web Design; 03-27-2007 at 12:57 PM..
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 03-27-2007, 12:07 PM Re: General solution to handle web application errors?
Extreme Talker

Posts: 224
Trades: 0
Do you have access to web.config file?
__________________

Please login or register to view this content. Registration is FREE
::
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
::
Please login or register to view this content. Registration is FREE

alemcherry is offline
Reply With Quote
View Public Profile Visit alemcherry's homepage!
 
Reply     « Reply to General solution to handle web application errors?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11914 seconds with 12 queries