p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > Microsoft Servers > Internet Information Services
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 27th, 2007, 09:31 AM
Authorized User
 
Join Date: Jun 2006
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old March 27th, 2007, 09:42 AM
Wrox Author
Points: 12,827, Level: 49
Points: 12,827, Level: 49 Points: 12,827, Level: 49 Points: 12,827, Level: 49
Activity: 15%
Activity: 15% Activity: 15% Activity: 15%
 
Join Date: Oct 2005
Location: Akron, Ohio, USA.
Posts: 4,029
Thanks: 1
Thanked 42 Times in 42 Posts
Send a message via AIM to dparsons
Default

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
================================================== =========
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

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 09: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 03: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



All times are GMT -4. The time now is 05:53 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc