Click here to Skip to main content
15,893,904 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
when open my website and log in in my CMS(admin page) for the same website at the same browser at the same time get this error in the web site http://www.tawjihiacademy.com/error1.jpg[^]

and folder CMS web.config contain
XML
<configuration>
   <system.web>
     <authorization>
       <allow roles="admin"/>
       <deny users="*"/>
     </authorization>
     <pages theme="Admin" />
   </system.web>
 </configuration>


when create folder in my site EX(test) that contain web.config file
web.config file have code same as the above one
this mean that admin can enter in folder but in same time get this error in the web site http://www.tawjihiacademy.com/error1.jpg in same browser.
Posted
Updated 20-Sep-13 2:44am
v3
Comments
Richard C Bishop 26-Aug-13 16:07pm    
Well, you are denying all users from entering, but that does not seem to be your root issue.
ZurdoDev 26-Aug-13 16:28pm    
There should be more details and a stack trace in the event viewer.
Member 3178544 20-Sep-13 8:41am    
when create folder in my site EX(test) that contain web.config file
web.config file have code same as the above one
this mean that admin can enter in folder but in same time get this error in the web site http://www.tawjihiacademy.com/error1.jpg in same browser.
Member 3178544 19-Sep-13 19:30pm    
when create folder in my site EX(test) that contain web.config file
web.config file have code same as the above one
this mean that admin can enter in folder but in same time get this error in the web site http://www.tawjihiacademy.com/error1.jpg in same browser.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900