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.
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
is working on a reply...