PC Review


Reply
Thread Tools Rate Thread

<allow roles...> does NOT work ???

 
 
cmrchs@yahoo.com
Guest
Posts: n/a
 
      23rd Mar 2005
Hi,

I can't make <allow roles...> to work in web.config

I'm logging on as 'Administrator' and try to access a site for which the IIS-authentication method is set to 'Integrated Windows' only

Following are the web.config-entries of the site :
<authentication mode="Windows" />
<authorization>
<allow users="MYDOMAIN\Administrator" />
<deny users="*" />
</authorization>

When I access the site : --> no problem
Authenticated user: MYDOMAIN\Administrator

but changing web.config as follows gives me an "Access Denied"
<authentication mode="Windows" />
<authorization>
<allow roles="MYDOMAIN\Administrators" />
<deny users="*" />
</authorization>

And I double-checked that Administrator is a member of the Administrators-group
I tried with other users-roles and every time I allow only access to roles doesn't I have access ??
How come ?

Any ideas ?
thanks
Chris


**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't quite get the Membership/Roles configured to work on SQL 2005 Jack Microsoft ASP .NET 0 13th Aug 2006 10:43 AM
Roles unwantedspam Microsoft ASP .NET 4 24th May 2006 03:24 AM
.NET Membership - Domain Authorization doesn't work with roles 00_DotNetWarrior Microsoft ASP .NET 1 18th May 2006 09:53 PM
Config: Allow Roles does not work as expected Brian Takita Microsoft ASP .NET 3 12th May 2005 07:30 AM
<allow roles ...> does NOT work ??? cmrchs@yahoo.com Microsoft ASP .NET 2 23rd Mar 2005 05:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:09 AM.