Custom MembershipProvider Index out of bounds/machineKey

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

Luke Zhang [MSFT]

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

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top