Copied to clipboard

Flag this post as spam?

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


  • Sjors Pals 617 posts 270 karma points
    Oct 19, 2009 @ 15:31
    Sjors Pals
    0

    No node exists with id '0'

    I do get this error, strange thing is that it did work well before, i get it, when this code is executed:

     

    [code]

                MemberType mt = MemberType.GetByAlias("Gebruiker");
                //create a member
                Member m = Member.MakeNew(gebruikersnaam.Text, mt, new umbraco.BusinessLogic.User(0));

    [/code]

     

    Any suggestions?

  • Sjors Pals 617 posts 270 karma points
    Oct 19, 2009 @ 15:32
    Sjors Pals
    0

    Arg something went wrong with code:

     

    [code]

    MemberType mt = MemberType.GetByAlias("Gebruiker");
    //create a member
    Member m = Member.MakeNew(gebruikersnaam.Text, mt, new umbraco.BusinessLogic.User(0));

    [/code]

  • Sjors Pals 617 posts 270 karma points
    Oct 19, 2009 @ 15:32
    Sjors Pals
    0

    mmmm forum seems buggy:

     

    MemberType mt = MemberType.GetByAlias("Gebruiker");
    //create a member
    Member m = Member.MakeNew(gebruikersnaam.Text, mt, new umbraco.BusinessLogic.User(0));

  • Sjors Pals 617 posts 270 karma points
    Oct 19, 2009 @ 15:52
    Sjors Pals
    0

    Already found the problem, the membertype did not exist anymore :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies