MachineKey configuration + Password recovery
-
Hi, I am trying to enable password recovery, with the following settings:
type="System.Web.Security.SqlMembershipProvider" connectionStringName="Gendac.Grintek.Abatis.DataAccess.Properties.Settings.PerimeterMainConnectionString" applicationName="Abatis ClientUI" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Encrypted" minRequiredPasswordLength="3" minRequiredNonalphanumericCharacters="0"/>
I know that I have to change the default machineKey, but I don't know how. I think the machine key must be set in one of the files in C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG, but I don't know where and how. Any help would be much appreciated. This is my error: 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 Kind regards, Higs
-
Hi, I am trying to enable password recovery, with the following settings:
type="System.Web.Security.SqlMembershipProvider" connectionStringName="Gendac.Grintek.Abatis.DataAccess.Properties.Settings.PerimeterMainConnectionString" applicationName="Abatis ClientUI" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Encrypted" minRequiredPasswordLength="3" minRequiredNonalphanumericCharacters="0"/>
I know that I have to change the default machineKey, but I don't know how. I think the machine key must be set in one of the files in C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG, but I don't know where and how. Any help would be much appreciated. This is my error: 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 Kind regards, Higs
found solution, soz http://www.asp101.com/tips/index.asp?id=165[^]