I have an ASP.NET web application that has the following settings in the web.config file:
<authentication mode="Windows"/>
<authorization>
<allow roles="MyDomain\Valid Site Users" />
<allow users="MyDomain\MyName" />
<deny users="*" />
</authorization>
(The actual names are different, obviously.) I am not a member of the real "Valid Site Users" group which is why I am given explicit access.
I am able to access the site without a problem while developing and debugging locally; however, I get a 401 (Unauthorized Access) error when I deploy the site to a server. The only way to gain access is to remove the <deny> element from the configuration, which is not an acceptable option.
I'm certain the solution is something simple and I am just overlooking it so any suggestions what to look at or t ...
Go to the complete details ...