November Happy Hour will be moved to Thursday December 5th.

Error on user delete

Vote:
 

Hi

I have EPiMail installed on an EPiServer CMS 5 SP2 installation, and the StarSuite membership provider configured in web.config.

I have noticed a problem when deleting users - I get the following error:

Value cannot be null.
Parameter name: user

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.ArgumentNullException: Value cannot be null.
Parameter name: user

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:

[ArgumentNullException: Value cannot be null. Parameter name: user]    StarSuite.Security.Internal.SecurityHandler.RemoveUser(IUser user, Boolean permanent) +149    StarSuite.Core.Web.Authorization.IntegrationMembershipProvider.DeleteUser(String username, Boolean deleteAllRelatedData) +88    System.Web.Security.Membership.DeleteUser(String username) +74    EPiServer.UI.Admin.DeleteMembershipDialog.DeleteUser_Click(Object sender, EventArgs e) +533    EPiServer.UI.WebControls.ToolButton.OnClick(EventArgs e) +101    EPiServer.UI.WebControls.ToolButton.RaisePostBackEvent(String eventArgument) +132    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746 

The user seems to be deleted correctly, however.

Any ideas?

#27073
Jan 16, 2009 8:59
Vote:
 
This is a bug in the IntegrationMembershipProvider and occurs when the community database does not contain the user that is being removed. A fix will be released in a hotfix for EPiServer Community 3.1 that should be available on EPiServer World this week. 
#27272
Jan 22, 2009 14:08
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.