Author: cherishnews | Posted on: 5/18/2009 7:58:48 PM | Views : 842

Hi,
I have implemented 2 roles - Admin and User.
Only the Admin can access the admin folder.
All works well under the development server.
I copied and pasted the ASPNETDB database directly to the server.
Login can be carried out. However I realised that it does not recognise any roles in the server.
Did I miss out anything?
 
The web.config under the admin folder
 <?xml version="1.0" encoding="utf-8"?>
<configuration>
    <system.web>
        <authorization>
          <allow roles="Admin" />
          <deny users="*" />         
        </authorization>
    ...

Go to the complete details ...