c# - Asp Net Web Forms Identity 2.0 Roles are Not Working -
please have install visual studio 2013. update 4. in last version have use , work follow.
<location path="cadastro/cadastro_print.aspx"> <system.web> <authorization> <allow roles="medico"/> <allow roles="farmacia"/> <deny users="?"/> <allow users="*"/> </authorization> </system.web> </location>
i did same in version vs 2013.4 , not worked. seems not recognize roles.
i have read lot , didn´t find similar problem. seems bug.
i have tried run: install-package microsoft.aspnet.providers in nuget. these package fill same data in role manager provider in web config , nothing.
Comments
Post a Comment