Try our conversational search powered by Generative AI!

Using ChangePassword control

Vote:
 

Hi,

I "need" to use the asp:ChangePassword control in my SC3.1 solution. It fails immediately (I have not implemented any custom code) when it tries to find the Username for whom to change password. Has anyone implemented this control?

Error:

Object reference not set to an instance of an object.  

StarSuite.Core.Web.Authorization.IntegrationMembershipProvider.GetUser(String username, Boolean userIsOnline) +33
   System.Web.Security.MembershipProvider.GetUser(String username, Boolean userIsOnline, Boolean throwOnError) +31

#25186
Oct 14, 2008 17:23
Vote:
 
I did a small test and saw in my wecb.config that the default membership provider was set to
StarSuiteIntegrationMembershipProvider

I changed this to

StarSuiteMembershipProvider

and everything magically worked. That brings me to my next question; what is the difference between these to providers?

#25206
Oct 15, 2008 10:44
Vote:
 

Hi Marius,

The StarSuiteMembershipProvider is the "default" provider that will look in the Community tables.

The StarSuiteIntegrationMembershipProvider is used when you want to use a another provider as default provider, for instance a Windows provider. After your default provider has authenticated the user, the user will be copied to the Community tables by the StarSuiteIntegrationMembershipProvider, since the Community product is dependent on the existence of the user in the Community tables.

Hope this clarifies things!

//Tom

 

#25216
Oct 15, 2008 12:04
Vote:
 

Hi,

Yes, that clarifies a lot :) Thanks, again!

</marius>

#25218
Oct 15, 2008 12:53
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.