Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nuno 1 post 21 karma points
    Jun 15, 2012 @ 16:26
    Nuno
    0

    Create members

    Hello!! 

    I'm trying to create members via code using the following code:

     Membership.CreateUser(UsernameTextbox.Text.ToString(), PasswordTextbox.Text.ToString(), EmailTextbox.Text.ToString());

    But he is always giving the following error:

    Object reference not set to an instance of an object.

    Someone tell me why?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jun 17, 2012 @ 00:38
    Jan Skovgaard
    0

    Hi Nuno and welcome to our :)

    Could you perhaps post some more of your code? And could you describe a bit more about your process when building your project?

    As much information as you can give the eaiser it is to point you in the right direction.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft