Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Memberhip.CreateUser() is given an exception !!

Memberhip.CreateUser() is given an exception !!

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasecomhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fahd951
    wrote on last edited by
    #1

    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 :(

    M 1 Reply Last reply
    0
    • F fahd951

      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 :(

      M Offline
      M Offline
      Matt U
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups