Click here to Skip to main content
15,896,726 members
Articles / Web Development / ASP.NET

Implementing Custom Error Handling Library for ASP.NET using XML & C#.NET

Rate me:
Please Sign up or sign in to vote.
4.38/5 (7 votes)
24 Mar 2010CPOL3 min read 45.9K   296   33  
Handling & tracking Exceptions / Errors in ASP.NET using XML
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml;
using System.Xml.Xsl;

public partial class errorHandling_showErrorLogs : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        XslTransform objXSLT = new XslTransform();
        objXSLT.Load("web/errorHandling/showErrors.xsl");
        objXSLT.Transform("web/errorHandling/errorlog.xml", "web/errorHandling/errorLogs.htm");
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Gateway Technolabs Pvt. Ltd
India India
Having 4+ years of Technical Experience in asp.net,c#.net, SQL Server 2008,AJAX, XML,JQuery, JavaScript, .net framework, WCF, WPF/Silverlight,SSIS, SSRS, asp.net MVC.

While not working loves Photography and bike riding. Playing computer games are the best stress buster for him Smile | :)

Comments and Discussions