Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Servers > Internet Information Services
Password Reminder
Register
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 Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 27th, 2007, 08: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

Reply With Quote
  #2 (permalink)  
Old March 27th, 2007, 08:42 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 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
================================================== =========
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

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


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



All times are GMT -4. The time now is 05:35 PM.


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