This can be done by setting the ErroPage attribute of Page Directive or ErrorPage property of Page Class to the desired Custom Error Page
<%@Page Language='C#' ErrorPage='specificerropage.htm'%>
In web.config
<customErrors mode='On' />
This can be done by setting the ErroPage attribute of Page Directive or ErrorPage property of Page Class to the desired Custom Error Page
<%@Page Language='C#' ErrorPage='specificerropage.htm'%>
In web.config
<customErrors mode='On' />
Share with