Re: Password and ConfirmPassword Fields Are Empty in CreateUserWizard



Hi,

does your password meet the complexity requirements?

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

I am writing an ASP.NET 2.0 application using Forms Authentication and
a SQL
Server 2005 database that was created using the aspnet_regsql
utiliity.  The
database does not use the default name, aspnetdb.  I am setting up a
page
using the CreateUserWizard to allow new users to register with the
site.  The
wizard has two pages, the first to allow input of user information
including
the Password and ConfirmPassword textboxes, and the second to enter
other
information such as company information that will not be used in the
Membership API.  The first page is built using the
CreateUserWizardStep and
ContentTemplate with the StartNavigaionTemplate feature.  This setups
up a
"Next" button on the first page.
When I run the application in the debugger and enter the information I
get
an error as follows:
Password length minimum: 6. Non-alphanumeric characters required: 1.

The Password and ConfirmPassword controls are displayed as empty event
though I can retrieve the input from both in the "Next" button handler
from the CreateWizard1.Password value.  What is going on?  Why is this
failing and how can I get past this?

Any help would be greatly appreciated.



.