Validating new passwords
I do get an error if I complete the form as follows and press 'Submit': 1) old password = aaa 2) new password = bbb 3) confirm = bbb It's a configuration error related to this in my Web.config file: Parser Error Message: Could not load file or assembly 'System. Providers, Version=188.8.131.52, Culture=neutral, Public Key Token=31bf3856ad364e35' or one of its dependencies.
The located assembly's manifest definition does not match the assembly reference.
When you say validate Txt1 and Txt2, do you mean - in my own case - validate Txt and Txt1? In the Regular Expression Validator, the Control To Validate examines - again - the ID of the textbox: tb_email.
It is the ID of the Text Box that is important (in my case that would be Password Textbox).
(Exception from HRESULT: 0x80131040) Unfortunately no... I'm spoiled and get to hand things like that off to release managers (and our connections and session info is all encrypted anyways)...
Try blowing that assembly out, and then do a clean.
You can display any kind of message back and custom handle exceptions for it etc.
(like create a formatting exception and then if there is a formatting error for the text fields, throw that exception, then handle that type of exception throw to post some relevant information to the user, etc).
However, the login page currently validates the supplied credentials against a hard-coded list of username and password pairs.
In the Client Validation Sample (2), the Compare Validator compares two Text Boxes ('user's choice email' and 'confirm user's choice email'). Like if you are working with code and lets say you know it should only be numeric, and all your pass references are assuming numeric, then you don't want alpha in there as well. Like if you were going to grab a value and pass it to the database and it was for age, then you wouldn't want to allow 1T9 (instead of 19) or "nineteen" because when you assemble the SQL parameter and specify it as an integer field that will blow up. [code] Yes, I think you mean 'slippage' - allowing characters in where they should not be allowed in.
Regex("[0-9]") ' Special is "none of the above".
If Len(pwd) If you are moving the password across a network, you need to use a secure method for transferring data.