Hello,
I'm on chapter 3 Sign me up.
When I start my application, I get a provider error by signup a new user.
I try to following the book and built the sample application from scratch.
Here I don't understand, why I get a provider error, when I use my created database from scratch.
When I use the database from the samplecode it works. But I can't find an error in my database tables to your example.
My debugger shows the error by following code in my UserInformationService.cs:
Code:
[Invoke]
public void CreateUser(string username, string password, string email, string passwordQuestion, string passwordAnswer)
{
MembershipCreateStatus status;
UserInformation createdUser = provider.CreateUser(username, password, email, passwordQuestion, passwordAnswer, true, null, out status) as UserInformation;
if (status != MembershipCreateStatus.Success)
throw new DomainException(status.ToString());
}
I frustrated, because I don't understand what I do wrong. Do you've any idea?
Regards
Dirk