Click here to Skip to main content
15,038,345 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have used membership and roles in asp.net application.
Step 1:- Created users and password through code in my database name "aspnetdb".

Step 2:- The forms authentication tag and membership tag is available in my web.config file.I have used the hashed format settings for password in my web.config file.

Step 3:- Successfully generates the userid and password.I am able to login in my system through the credentials.

Now I have created sql scripts of User,passwords and salt password which are above created.Execute the scripts in another machine in the database "aspnetdb".The records are inserted sucessfully.But when I am trying to login with the same credentials.It is not allowing me to login.The function "Membership.ValidateUser" is not validating.

Please let me know anything which I am missing.I am working with Visual studio 2012 and SQL server 2008R2.

Experts Please step ...

-SR
Posted
Updated 27-Dec-14 2:04am
v2

1 solution

Give this a try for some direction.[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900