nialo23
  •  nialo23
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
2009-06-05T00:39:05Z
Trying to update a user as admin. from the following page (default.aspx?g=admin_edituser&u=4).getting this error message.

System.ApplicationException: Performing this operation would result in a duplicate email address
at YAF.Providers.Utils.ExceptionReporter.Throw(String providerSection, String tag) in C:\Development\Projects\VS2008\YAF-v1.9.3-FINAL-SRC\YAF.Providers\Utils\ExceptionReporter.cs:line 77
at YAF.Providers.Membership.YafMembershipProvider.UpdateUser(MembershipUser user) in C:\Development\Projects\VS2008\YAF-v1.9.3-FINAL-SRC\YAF.Providers\Membership\YafMembershipProvider.cs:line 1013
at System.Web.Security.MembershipUser.Update()
at System.Web.Security.Membership.UpdateUser(MembershipUser user)
at YAF.Controls.EditUsersInfo.Save_Click(Object sender, EventArgs e) in c:\Development\Projects\VS2008\YAF-v1.9.3-FINAL-SRC\YetAnotherForum.NET\controls\EditUsersInfo.ascx.cs:line 100
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

done a trace but cant see why its passing my admin account id to the procedure instead of the user im trying to update. anyone able to help or get this before?
Sponsor

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved