Hi, this is my first post here and I have an issue that is boggling my mind.Here it is, I have created a custom Membership Provider class in VB.NET and it works well for the most part except with the Change Password control.

onvalidatingpassword-57

This answer states that one does not have to override the function to have it work. When I override On Validate Password, and simply call the base class, my function gets hit, but it never rejects my too-simple passwords.

Code sample (with a custom Create User function) protected override void On Validating Password(Validate Password Event Args e) // // Membership Provider.

Here is my web.config code: Nothing too complex so far.

When a user logs into the website, navigates to the Change Password page and enters their information the only parts of my custom provider that get hit (as far as I can tell through Debugging) are the Ok I've figured it out and will post it here in case anyone else has problems with this.

The name of the protected virtual method should be the same as the event name prefixed with On.

For example, the protected virtual method for an event named "Time Changed" is named "On Time Changed".The Validating Password event occurs before the action requested and enables the user to continue or cancel the requested action.If the action is canceled, the user can specify an exception to be thrown.For example in mine (member List Temp is a list of my Membership User class objects): Look at the following membership section, you need to add the providers section, put the clear tag first in order to clear all other membershipproviders. The type tag is important and needs to be a fully qualified namespace to your membershipprovider class. You do not call the change password function from Get User, you simply need to return a valid Membership User object (Access Membership User).Depending on how you do your data access you may also need the connection String Name tag. The changepassword control will call the changepassword function that you created earlier, you just have to make sure that you are returning a valid membershipuser from the Get User function of the Membership Provider.Here is my factory code for retrieving a Membership User: Burning.