Posted on: 4/6/2011 10:39:19 AM | Views : 557

Hi!
I get this strange Server Error when I try to create a new user and add him to a role:
Roles.AddUserToRole(CreateUserWizard1.UserName, "Admin");
Why does it change 'Admin' to ''?
In my web.config I have:
<roleManager enabled="true" defaultProvider="CustomizedRoleProvider"> <providers> <add name="CustomizedRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="aspnetDBConnectionString"/> </providers> </roleManager> aspnetDBConnectionString is the same connectionstring I use for my MembershipProvider and my LinqToSQL (.dbml) so it's working.
?Everything is sworking fine on my dev. computer b ...

Go to the complete details ...