Jump to content

braindamage

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

1 Neutral

About braindamage

  • Rank
    Newbie
  1. ok. just a bad definishen in the DB. that ok now.
  2. Hi. I'm new to the .NET framework. I ran into w3schools demo: http://www.w3schools.com/aspnet/webpages_login.aspI did everything like the demo and it was o.k until the register/login pages.when i try to register to the site, i receive this error: Exception Details: System.Data.SqlServerCe.SqlCeException: The column cannot contain null values. [ Column name = UserId,Table name = UserProfile ] Source Error: Line 25: if (user == null)Line 26: {Line 27: db.Execute("INSERT INTO UserProfile (Email) VALUES (@0)", email);Line 28: WebSecurity.CreateAccount(email, password, false);Line 29:
×
×
  • Create New...