尝试执行Roles.AddUserToRole(username,rolename)时出现上述错误
这是我的连接字符串
<add name="HelpDeskEntities" connectionString="metadata=res://*/DBModel.csdl|res://*/DBModel.ssdl|res://*/DBModel.msl;provider=System.Data.SqlClient;provider connection string="data source=(LocalDb)\MSSQLLocalDB;attachdbfilename=|DataDirectory|\aspnet-desteahelpdesk-20180515114739.mdf;initial catalog=aspnet-desteahelpdesk-0180515114739;integrated security=True;multipleactiveresultsets=True;application name=EntityFramework"" providerName="System.Data.EntityClient" />