Article ID: 902239 - View products that this article applies to.
When you design an application that uses impersonation in Microsoft ASP.NET, users are not redirected to the page that contains the custom error message.
You implement impersonation by using the following code.
This problem occurs when you use the following code in the Web.config file.
To work around this problem, redirect to the custom error page by using the following code in the Global.asax file.
Steps to reproduce the problem
Contact us for more help
Connect with Answer Desk for expert help.