Custom MembershipProvider Index out of bounds/machineKey

  • Thread starter Thread starter Mark Olbert
  • Start date Start date
M

Mark Olbert

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)
 
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top