After deep googling I'm not found any solution or ways to troubleshoot my problem, so ask here. In first part of web.config
......
<location path="DevReg.aspx">
<system.web>
<authorization>
<allow roles="C,csvImportExport"/>
<deny users="*,?"/>
</authorization>
</system.web>
</location>
.......
<system.web>
<roleManager enabled="true" defaultProvider="MyRoleProvider">
<providers>
<clear />
<add name="MyRoleProvider" type="DataAccess.Common.MyRoleProvider, DataAccess" applicationName="myapp" />
</providers>
</roleManager>
</system.web>
.......
Main WebApp in other project in the same solution. When I run app in Visual Studio provider run fine -- authorization work as must, I also can call my provider from code (e.g IsUserInRole return right result). But after deployment to local IIS (Win 7/ IIS 7.5). I tried with VirtualDirectory and with WebApp with no luck.
When my app run in IIS look like server never use Role provider, only call Initialize method on start and newer more.
Please give me right direction to troubleshoot this problem, if need I will show more details.