IsUserInRole Error with SimpleMembership
问题 I use this codes for Role Authorization on my ASP.NET MVC 4 Internet Application.. @if (Roles.IsUserInRole("RolunAdi")) { <a href="#">Test</a> } It works normally but sometimes I have an error.. It is on the this image.. http://forum.yazgelistir.com/JS/HTMLEditor/Image.aspx?id=593&siteid=0 I have 2 things in my mind.. First; I have two connection string in web.config.. First for entity framework data model, second for SimpleMembership.. (By the way what can I do for use only one connection