Custom MembershipProvider Index out of bounds/machineKey

Discussion in 'ASP .Net' started by Mark Olbert, Jan 24, 2006.

  1. Mark Olbert

    Mark Olbert Guest

    I'm getting the following exception from a website that uses a custom MembershipProvider that I've written. What's bizarre is that
    the exception is thrown outside my code, >>after<< the user is properly validated.

    Anyone have any idea what's going on?

    - Mark

    System.IndexOutOfRangeException occurred
    Message="Index was outside the bounds of the array."
    Source="System.Web"
    StackTrace:
    at System.Web.Configuration.MachineKeySection.HexStringToByteArray(String str)
    Mark Olbert, Jan 24, 2006
    #1
    1. Advertising

  2. Have locate the exact line that generate the excception? You can bound to
    the process that execute your MembershipProvider in VS.NET, run your code
    step by step.

    Luke Zhang
    Luke Zhang [MSFT], Jan 25, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?ZHdlbndhQGNvbXBhbnlhYmMuY29t?=

    Re: Index Out of Bounds Error

    =?Utf-8?B?ZHdlbndhQGNvbXBhbnlhYmMuY29t?=, Oct 20, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    490
    =?Utf-8?B?ZHdlbndhQGNvbXBhbnlhYmMuY29t?=
    Oct 20, 2004
  2. Replies:
    0
    Views:
    3,167
  3. Biff
    Replies:
    4
    Views:
    1,906
    E. Robert Tisdale
    Jan 31, 2005
  4. Method Man

    Index out of bounds question

    Method Man, Oct 14, 2004, in forum: C Programming
    Replies:
    26
    Views:
    638
    Dan Pop
    Oct 22, 2004
  5. Joel Finkel

    DataGrid1.DataKeys[e.Item.ItemIndex] array index out of bounds

    Joel Finkel, Sep 4, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    312
    Joel Finkel
    Sep 4, 2003
Loading...

Share This Page