There are many errors that can’t be trapped in the application code like page not found. To intercept this kind of error, ASP.NET supports Custom Error Pages that can be specified at two places: Specify application-wide error page settings in the customErrors section of the Web.config file. Specify an error page for a specific Web form in the ErrorPage attribute of the Web form’s @ Page directive
Asked In: Many Interviews |
Alert Moderator