Can you post your code that you use to instantiate the customSQLMembership class and invoke the ValidateUser method? Have you tried debugging it to see the program flow?