Hello,
I am having a very simple intranet site. I took the sample for my project from Gary (moderator of this forum at http://www.vbforums.com/showthread.p...75#post3625975)
I have integrated windows authentication with Role based authorization. There are only 3 .aspx pages and I have a tree view control on the master page. depending on the choices that the user's make on the tree view control the .aspx pages gets displayed.
There are only 2 active directory groups. Sales and Marketing.
My network id is not in Sales AD group.So obviously it prompts me to put userid and password and it throws not authorized error when i try to access PortfolioData.aspx page. So far so good.
But I am a member of AD group MARKETING. I should be able open the page Schedules.aspx (please see the config file below). But I still get the Error message 401.2.: Unauthorized: Logon failed due to server configuration.
I am confused about this role based authorization.
can someone help me please.
Code:<!-- <authorization> <allow roles="domain\ADGROUP_SALES"/> <deny users="*"/> </authorization> --> <location path="default.aspx"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location> <location path="PortfolioData.aspx"> <system.web> <authorization> <allow users="domain\ADGROUP_SALES"/> <deny users="*"/> </authorization> </system.web> </location> <location path="Schedules.aspx"> <system.web> <authorization> <allow users="domain\ADGROUP_SALES,domain\ADGROUP_MARKETING"/> <deny users="*"/> </authorization> nath </system.web> </location>


Reply With Quote

