Posted on: 11/3/2013 1:52:36 PM | Views : 761

Hello,
I have the following code which creates a memebrship user, then calls other methods to insert the users other info into my SQL DB. The user is getting created. The info is getting into my database. Everything is working like it should, but for some reason, Rather then sending a success message to my Literal0.text, it always says "There is already a user with this email address.", even after the user is successfully created.I even added a check for Session("Created") to keep the code from running twice, still no luck. It works fine, just gives the wrong message at the end.
Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click If Not Session("Created") = "True" Then Literal0.Text = "" Dim FName As String = FNameBox.Text.Replace("'", "*1*").Replace("""", "*2*").Replace(&quo ...

Go to the complete details ...