Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fuji Kusaka 2203 posts 4220 karma points
    Aug 25, 2011 @ 16:02
    Fuji Kusaka
    0

    Chaging password in Member Section

    When i change the Password for any member under the Member section in umbraco I get the following errror message.

    Server Error in '/' Application.

    An item with the same key has already been added.

    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.ArgumentException: An item with the same key has already been added.

    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:

    [ArgumentException: An item with the same key has already been added.]
       System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +12676752
       Examine.LuceneEngine.Providers.LuceneIndexer.GetDataToIndex(XElement node, String type) +679
       UmbracoExamine.UmbracoMemberIndexer.GetDataToIndex(XElement node, String type) +11
       Examine.LuceneEngine.Providers.LuceneIndexer.AddNodesToIndex(IEnumerable`1 nodes, String type) +216
       Examine.LuceneEngine.Providers.LuceneIndexer.ReIndexNode(XElement node, String type) +188
       Examine.ExamineManager._ReIndexNode(XElement node, String type, IEnumerable`1 providers) +93
       umbraco.cms.businesslogic.member.SaveEventHandler.Invoke(Member sender, SaveEventArgs e) +0
       umbraco.cms.businesslogic.member.Member.Save() +336
       umbraco.cms.presentation.members.EditMember.tmp_save(Object sender, EventArgs e) +852
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       umbraco.controls.ContentControl.saveClick(Object Sender, ImageClickEventArgs e) +348
       System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +187
       System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +165
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707
    

    The same error message is being displayed whenever i try to Login.

  • Fuji Kusaka 2203 posts 4220 karma points
    Aug 25, 2011 @ 16:42
    Fuji Kusaka
    0

    Hi All,

    Is there something that needs to be changed in the web.config after installing Contour?....When i create Members Manually in the Member section i dont have this error message.

    Any Idea?

  • Fuji Kusaka 2203 posts 4220 karma points
    Aug 26, 2011 @ 06:43
    Fuji Kusaka
    0

    Weird, I have tried to make a login page by using the <asp:login> and using the login and password of a member under my member section which i created manually and is working just fine.

    However when using Contour  1.1.9 to add new Member to my member section, i can't Change my password or even login and i get the following error again.

    Server Error in '/' Application.


    An item with the same key has already been added.

    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.ArgumentException: An item with the same key has already been added.

    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:

    [ArgumentException:An item with the same key has already been added.]
       
    System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +12676752
       Examine.LuceneEngine.Providers.LuceneIndexer.GetDataToIndex(XElement node, String type) +679
       UmbracoExamine.UmbracoMemberIndexer.GetDataToIndex(XElement node, String type) +11
       Examine.LuceneEngine.Providers.LuceneIndexer.AddNodesToIndex(IEnumerable`
    1 nodes,String type)+216
       
    Examine.LuceneEngine.Providers.LuceneIndexer.ReIndexNode(XElement node,String type)+188
       
    Examine.ExamineManager._ReIndexNode(XElement node,String type,IEnumerable`1 providers) +93
       umbraco.cms.businesslogic.member.SaveEventHandler.Invoke(Member sender, SaveEventArgs e) +0
       umbraco.cms.businesslogic.member.Member.Save() +336
       umbraco.providers.members.UmbracoMembershipProvider.ValidateUser(String username, String password) +486
       System.Web.UI.WebControls.Login.AuthenticateUsingMembershipProvider(AuthenticateEventArgs e) +225
       System.Web.UI.WebControls.Login.AttemptLogin() +166
       System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +93
       System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +52
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707

     

    Has anyone try this? Any suggestion?

  • Fuji Kusaka 2203 posts 4220 karma points
    Aug 26, 2011 @ 17:23
    Fuji Kusaka
    0

    I got it sorted out, what i did is very simple on the stage where the form is been submitted I changed the mapping where the Member is being registered.


    Instead of Mapping the Name field with the Email field I map it with the Firstname. Wll it worked for me and I no more that the Server error. From there i can change the password or any field i want for any memeber under the Member Section and Login works fine as well.

    Anyway am just posting this, if ever someone ever come across this error when using Contour v1.1.9.

    //fuji

     

Please Sign in or register to post replies

Write your reply to:

Draft