Home > Customerrors Mode > Custom Error Defaultredirect

Custom Error Defaultredirect

Contents

Tajbir12-Feb-13 11:27 Sk. Sign In·ViewThread·Permalink Code Not work yadavshravan486-Mar-12 0:28 yadavshravan486-Mar-12 0:28 in which file write Sending an Email to the Administrator code Sign In·ViewThread·Permalink good article Donsw19-Jun-10 9:26 Donsw19-Jun-10 9:26 Good memebrs help me Any doubts please feel free to ask me. system.web Specifies the root element for the ASP.NET configuration settings in a configuration file and contains configuration elements that configure ASP.NET Web applications and control how the applications behave. this contact form

void Application_EndRequest(object sender, EventArgs e) { if (Response.StatusCode == 401) { Response.ClearContent(); Server.Transfer("~/Views/Shared/UnauthorizedAccess.cshtml"); } } share|improve this answer answered Jul 17 '13 at 4:24 Nirmal Subedi 4892416 This should it would be very helpful if you give the solution.