Copied to clipboard
  • Ali Sheikh Taheri 1427 karma points
    Jun 25, 2010 @ 10:35
    Ali Sheikh Taheri
    0

    4.5 search for member error

    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: 
    
    
    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.presentation.umbraco.members.MemberSearch.ButtonSearch_Click(Object sender, EventArgs e) +1172
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +153
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3690
    

  • Julius Bartkus76 karma points
    Jul 18, 2010 @ 13:08
    Julius Bartkus
    0

    same here

  • Julius Bartkus76 karma points
    Jul 29, 2010 @ 09:02
    Julius Bartkus
    0

    does member search work for anyone in 4.5.x version ?

  • Marko Ivanovski124 karma points
    Jul 30, 2010 @ 01:44
    Marko Ivanovski
    0

    Nope mine's broken too. 4.5 and 4.5.1

  • Julius Bartkus76 karma points
    Aug 28, 2010 @ 22:13
    Julius Bartkus
    0

    4.5.2 still doesn't work?

  • Fredrik Sewén106 karma points
    Oct 10, 2010 @ 14:24
    Fredrik Sewén
    0

    There's an issue on this on codeplex. Please vote for it to be solved rapidly

    http://umbraco.codeplex.com/workitem/28465

  • Kadir Can21 karma points
    May 12, 2011 @ 09:59
    Kadir Can
    0

    is there any idea to fix it ????

    if there isn't  i'll lost my ass :))

  • João Ferreira40 karma points
    Nov 11, 2011 @ 15:46
    João Ferreira
    0

    Hi, is this issue already solved? I'm on version 4.7.0.378 and I still have this issue...

  • Julius Bartkus76 karma points
    Nov 11, 2011 @ 15:49
    Julius Bartkus
    0

    hi, it is solved in 4.7.1

  • João Ferreira40 karma points
    Nov 11, 2011 @ 15:49
    João Ferreira
    0

    This is the error I'm getting:

    The given key was not present in the dictionary.

    Server Error in '/' Application.


    The given key was not present in the dictionary.

    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.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

    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:

    [KeyNotFoundException: The given key was not present in the dictionary.]
       System.Collections.Generic.Dictionary`2.get_Item(TKey key) +9620397
       Examine.SearchResult.get_Item(String key) +48
       umbraco.presentation.umbraco.members.MemberSearch.<ButtonSearch_Click>b__5(SearchResult x) +158
       System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +151
       System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +378
       System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +61
       System.Web.UI.WebControls.Repeater.DataBind() +76
       umbraco.presentation.umbraco.members.MemberSearch.ButtonSearch_Click(Object sender, EventArgs e) +702
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
    



    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.237

     

    Thank you for your help.

  • priya45 karma points
    Dec 15, 2011 @ 09:20
    priya
    0

    hi

    I am using 4.7.1 .Every thing is working fine but the search box in memeber section (backend)is not working only for 1 member.And giving the error "key was not present in the dictionary"

    tell me the reason and solution for this.

    Thanks in advance.

  • rich hamilton132 karma points
    Jul 12, 2012 @ 10:47
    rich hamilton
    0

    umbraco v 4.7.2 (Assembly version: 1.0.4500.21031)

    get error of I search for blank or *

    would just like to be able to list all members.

     

  • Chris Knowles210 karma points
    Jun 28, 2013 @ 12:33
    Chris Knowles
    0

    Hi,

    Using a copy of 4.7.2 we are getting the following error too:

    Server Error in '/' Application.


    The given key was not present in the dictionary.

    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.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

    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: 

    [KeyNotFoundException: The given key was not present in the dictionary.]
       System.Collections.Generic.Dictionary`2.get_Item(TKey key) +9625629
       umbraco.presentation.umbraco.members.MemberSearch.<ButtonSearch_Click>b__5(SearchResult x) +81
       System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +151
       System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +378
       System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +61
       System.Web.UI.WebControls.Repeater.DataBind() +76
       umbraco.presentation.umbraco.members.MemberSearch.ButtonSearch_Click(Object sender, EventArgs e) +526
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
    


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

    Has anyone got a fix for it?

    Thanks
    Chris 

Please Sign in or register to post replies

Write your reply to:

Draft
Our.umbraco.org is the community mothership for Umbraco, the open source asp.net cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community.