Author: Joeri Pansaerts | Posted on: 7/6/2008 9:23:39 AM | Views : 298

I've got some troubles with the password format. On my localhost the login works perfect, but when I upload my files to the webserver the login doesn't work anymore. After a long search, I've founded that when I set in my database, in the table aspnet_membership, the PasswordFormat to zero and I type my password without any format in my database, the login works perfect.

so now my question, how can I set my passwordFormat to 1 in my database, so it works on my localhost and on the webserver ?

 

here my web.config :

   <membership defaultProvider="AspNetSqlMembershipProvider">
     <providers>
    <remove name="AspNetSqlMembershipProvider" />
    <add connectionStringName="ProviderConnection"
        name="AspNetSqlMembershipProvider"
  & ...

Go to the complete details ...