CreateUserWizard using Umbraco membership Provider
Hi,
Any one get this error, when creating a user using Umbraco Membership Provider.
I am using ASP.NET CreateUserWizard Control. but when I click Submit, I get this error. It seems there is error when it call umbraco membership provider,
Any clue ?
Thanks
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during
the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the
code.
Exception Details: System.NullReferenceException:
Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
In umbraco your create the MemberType in the members section. then you can go the the web.config file, search for UmbracoMembeshipProvider and there you find the defaultMemberShipAlias attribut.Rename that to the Membertype you have created in Umbraco. Below an example
that is a great tutorial, but i got that far... my issue is that i have added custom properties to the member and i want them to be able to fill them in on registration. I really was trying to avoid a custom control, but i may have to.
CreateUserWizard using Umbraco membership Provider
Hi,
Any one get this error, when creating a user using Umbraco Membership Provider.
I am using ASP.NET CreateUserWizard Control. but when I click Submit, I get this error.
It seems there is error when it call umbraco membership provider,
Any clue ?
Thanks
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Hi Kurniawan,
I think this is because you need to specify a "MemberType" in your web.config MembershipProvider definition, and/or create this type in Umbraco.
You can find more information about this in the following thread : http://our.umbraco.org/forum/developers/api-questions/11407-making-a-member-gives-an-object-reference-not-set-to-an-instance-error
Cheers,
Michael.
Do you know how to specify "MemberType" in web.config ?
And Create this type in umbraco ?
Thanks
Hi,
In umbraco your create the MemberType in the members section. then you can go the the web.config file, search for UmbracoMembeshipProvider and there you find the defaultMemberShipAlias attribut.Rename that to the Membertype you have created in Umbraco. Below an example
Cheers,
Richard
It's working now. Thanks for your help.
can anyone give me a clue as to how to add the custom member properties to the asp.net create user wizard? i am at a complete loss.
Here is the tutorial.
http://www.mortenbock.dk/blog/2009/04/01/setting-up-membership-in-umbraco.aspx
Hope this will help.
@Kurniawan
that is a great tutorial, but i got that far... my issue is that i have added custom properties to the member and i want them to be able to fill them in on registration. I really was trying to avoid a custom control, but i may have to.
You need to defined it in the custom properties, using profile
http://stackoverflow.com/questions/2827775/asp-createuserwizard-membership-provider-registration-user-validation
http://www.aaron-powell.com/umbraco-members-profiles
is working on a reply...