CreateUserWizard и пароль

epicenter
Дата: 16.04.2007 13:34:53
CreateUserWizard требует 1 не текстовый символ в пароле. Как обойти эту просьбу?
epicenter
Дата: 16.04.2007 15:18:34
Нашел способ через web.config
        
<membership defaultProvider="my_MembershipProvider" userIsOnlineTimeWindow="15">
            <providers>
                <add connectionStringName="myConnectionString" applicationName="/"
                    enablePasswordRetrieval="true" enablePasswordReset="true"
                    requiresQuestionAndAnswer="true" requiresUniqueEmail="true"
                    passwordFormat="Encrypted" maxInvalidPasswordAttempts="5"
                    passwordAttemptWindow="10" minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="0"
                    name="my_MembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
            </providers>
</membership>

но выпадает ошибка:
автор
You must specify a non-autogenerated machine key to store passwords in the encrypted format. Either specify a different passwordFormat, or change the machineKey configuration to use a non-autogenerated decryption key.


В чем дело?
БезРегистраци
Дата: 16.04.2007 15:18:58
Один не текстово-числовой
epicenter
Дата: 16.04.2007 15:22:37
автор
Один не текстово-числовой

ты еще проверь, везде ли я запятые расставил.
aleyush
Дата: 16.04.2007 15:37:04
Вроде, написано же прямым текстом?

"epicenter":
passwordFormat="Encrypted"

но выпадает ошибка:
автор
You must specify a non-autogenerated machine key to store passwords in the encrypted format. Either specify a different passwordFormat, or change the machineKey configuration to use a non-autogenerated decryption key.

epicenter
Дата: 16.04.2007 16:02:42
изменение значение на Hashed помогло.
aleyush thank you for help!
valerkus
Дата: 29.10.2007 12:29:41
 хм..... а вот все равно,  тупо скопировав код ВЕБ.конфига ( поменяв имя контрола) возникает ошибка ((((