Go4Expert (http://www.go4expert.com/)
-   ASP.NET (http://www.go4expert.com/forums/asp-net/)
-   -   Error message 401.2 Access denied (http://www.go4expert.com/forums/error-message-4012-access-denied-t8558/)

anoopbitsmart 31Jan2008 00:52

Error message 401.2 Access denied

I want my .Net app to be accessible to a group only.For this I entered the following in web.config

<allow roles="Group name" />

<deny users="*" />

and want all users who are not member of this group redirected to customised page NoAccess.htm

<customErrors mode="On" defaultRedirect="Error.aspx" >
<error statusCode="401" redirect="NoAccess.htm" />

I am using Windows authetication,have added the group in the local users and groups.

When I run the set up it prompts for login credentials which when entered gives error message 401.2 Access is denied
Language C# ASP.NET as frontend
Please help.

Anoop Srivastava

shabbir 31Jan2008 08:14

Re: Error message 401.2 Access denied
Duplicate of Access denied error message 401.2. Thread closed.

All times are GMT +5.5. The time now is 21:12.