Posted on: 7/30/2012 9:16:13 PM | Views : 1115

Hi,
I'm having trouble with making a page only visible to an admin. I've implemented a SqlRoleProvier using this sample ( http://msdn.microsoft.com/en-us/library/system.web.security.sqlroleprovider.aspx ). I am able to create roles and add users into them. I've already added the <authorization> tag into the Web.config files. 
<authorization> <allow roles ="Administrator"/> <deny users="*"/> </authorization>
They are able to hide the links to the page to annonymous users but also to the Administrator roles! I've already checked the UserInRoles table in the database and the records are there. Ideas on what is causing this? 
...

Go to the complete details ...