How to catch access denied in application under an umbraco installation?
Hello,
I have got a application that i have added under the umbraco installation. After a little tweaking of the config file i got it to work.
When using the <authorization> element in the web.config it does work when i have access but when i remove myself from the group that does have access i get the iis standard 401.2 access denied error.
How do i catch this exception and redirect to my access denied page instead? I have tried to configure custom errors on 401, and create a new global.asax file due to powell's suggestions but i can't get it to work.
Since the error occurs in an application that lies under the umbraco application in iis it seems like it by passes when i add it to the .NET error pages. I have added the error page 401 to my main application and the underlying application but i still shows the IIS standard access denied.
How to catch access denied in application under an umbraco installation?
Hello,
I have got a application that i have added under the umbraco installation. After a little tweaking of the config file i got it to work.
When using the <authorization> element in the web.config it does work when i have access but when i remove myself from the group that does have access i get the iis standard 401.2 access denied error.
How do i catch this exception and redirect to my access denied page instead? I have tried to configure custom errors on 401, and create a new global.asax file due to powell's suggestions but i can't get it to work.
Any ideas?
I would imagine that looking at your IIS error config would provide the answer you're looking for
Since the error occurs in an application that lies under the umbraco application in iis it seems like it by passes when i add it to the .NET error pages. I have added the error page 401 to my main application and the underlying application but i still shows the IIS standard access denied.
is working on a reply...