I used the Login control in my ASP.NET form.A database was created- ASPNETDB.
But once I create a user and then execute the form next time,I cant login, i.e., I’ve to register as a new user everytime I simulate the web form. The code cant retrieve my previously stored login id and password.How can I fix it?
I used the Login control in my ASP.NET form.A database was created- ASPNETDB. But
Share
The problem could be that the database file is been copied to the output directory everytime you run your application and overriding the previous copied file that contains the registration data.
If that was the problem, you can solve it by change the database file’s
Copy To Output Directoryproperty value fromalways copytocopy if newer.