Hi,
i have developed a website that caters for online login and acount creation through the internet.
This feature used to work fine until i moved my database to my sql server. I know my connection string is
correct as i can access the database for various other retrievals except for the membership features.
When i login with a correct username and password, the user is supposed to be directed to another page, however it stays on the default page. I have debugged it and it completely goes through the following statement:
If Roles.IsUserInRole(Login1.UserName, "Student") Then
Login1.DestinationPageUrl = "~/Students/studenthome.aspx"
ElseIf Roles.IsUserInRole(Login1.UserName, "Staff") Then
It enteres the Else clause even though the user has been assigned the Student ...
Go to the complete details ...