Web Developer Friend

Posts Tagged ‘Error log

Generate the Error Log

Posted by: viralsarvaiya on: September 10, 2009

This is the general thing is that, end user can not know the error is occur, means the error page will display when error is occur.
For that take a global.asax file, in this file just write the following code…
<%@ Application Language=”VB” %>
<%@ import namespace=”System.Web”%>
<%@ import namespace=”System.Web.SessionState”%>
<%@ import namespace=”System.IO”%>
<script runat=”server”>
Sub Application_Error(ByVal sender As Object, ByVal e [...]


Blog Stats

  • 5,866 hits