Error Log in global.asax file in asp.net
1 min read
Write This code appplication_error event in a global.asax Exception ex = Server.GetLastError() as Exception; HttpContext.Current.Session[“Error”] = ex.Message; Server.ClearError(); StringBuilder sb = new StringBuilder(); if (ex... Read More
