Memberhip.CreateUser() is given an exception !!
-
Hi Developers, Hope everybody doing well .. I'm trying to work with ASP.net membership also integrated with my APP, first I've created a sample web app to create the new users to membership table I've Added the membership tag to web.config and change the connection string to my Database connString also I set ApplicationName to "\". then I added "CreateUserWizard" control with the following code:
Membership.CreateUser(CreateUserWizard1.UserName,CreateUserWizard1.Password,CreateUserWizard1.Email);
But when I run the code, I have the following exception :confused:: http://www.m5zn.com/newuploads/2015/03/21/jpg//9a5f11556559e6b.jpg[^] Anyone help please :(
-
Hi Developers, Hope everybody doing well .. I'm trying to work with ASP.net membership also integrated with my APP, first I've created a sample web app to create the new users to membership table I've Added the membership tag to web.config and change the connection string to my Database connString also I set ApplicationName to "\". then I added "CreateUserWizard" control with the following code:
Membership.CreateUser(CreateUserWizard1.UserName,CreateUserWizard1.Password,CreateUserWizard1.Email);
But when I run the code, I have the following exception :confused:: http://www.m5zn.com/newuploads/2015/03/21/jpg//9a5f11556559e6b.jpg[^] Anyone help please :(
The column it's referring to isn't referenced in the line of code you provided. May need more code in order to help. Something is referencing the ApplicationName column, and it doesn't exist in the database.
djj55: Nice but may have a permission problem Pete O'Hanlon: He has my permission to run it.