Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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
 
Old June 7th, 2005, 07:25 AM
Authorized User
 
Join Date: Aug 2004
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Baby_programmer Send a message via MSN to Baby_programmer Send a message via Yahoo to Baby_programmer
Default How to create an Exceptional Log in asp.net

Hi friends!
I have a problem i used to redirect the user when ever an exception occurs.but i want another thing that Exception log should be maintained that will help me in Quality Assurance.
Please help me soon .Thanks in advance.

ashfaq
__________________
Baby Prgrammer
 
Old June 7th, 2005, 12:29 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You can add some code to the Application_Error method in the web application's global code-behind. Access the error from Server.GetLastError and then you can do with it what you want (Email, write to text/xml file, etc).

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
crystal report with asp.net log-on fail exception avinash sharma LNCT Crystal Reports 0 December 6th, 2004 01:42 AM
log out problem in ASP.net aravwind General .NET 3 July 19th, 2004 09:23 AM
how can i create menus in Asp.net jayaraj VS.NET 2002/2003 1 May 7th, 2004 02:15 AM
ASP.NET C# Writing to Event Log Problem wireblock ASP.NET 1.0 and 1.1 Basics 1 July 26th, 2003 04:08 AM





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