Copied to clipboard

Flag this post as spam?

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


  • Efe Oseya 5 posts 25 karma points
    Sep 15, 2012 @ 11:15
    Efe Oseya
    0

    Umbraco membership provider with a console app

    Morning all,
    I have a project where I will be regularly importing and creating new members into an Umbraco site. The plan was to create console app that could be scheduled to run and perform the job.

    I've created a member group and member type, and amended the relevant sections in the web config. I've also copied the relevant sections (membership provider & profile provider) into a <system.web> section into console app app.config. I've referenced System.Web, umbraco.providers dlls in the console app project.

    To create the members, I'm using the MemberShip.CreateUser(.....) method (the umbraco businesslogic.member methods are obsolete). I get an error saying the could not find type umbraco.providers.members.UmbracoMembershipProvider...

    Any thoughts on what could be going wrong, or suggestions for an alternative approach.

    Thanks in advance

    Efe

     

Please Sign in or register to post replies

Write your reply to:

Draft