I donβt know that the error was caused by incorrect credentials or what, but I can tell you another method with which you can also check the connection to the database. Do this way
- Go to Visual Studio, Visual Studio Tools, and then open the Visual Studio Command Prompt.
- Now write the aspnet_regsql.exe command to launch the ASP.NET SQL Server Setup Wizard. Click further on this screen to go to another screen.
- click "Next" again, without changing any option from the switches, so here he will ask you about the Information database.
- Test your connection, and after you are done, you see the ASp.net membership tables are automatically created in the database that you selected.
This error can also be caused due to lack of permissions or the database you are using, there may already be membership tables, you can check this in your database. If the above suggestion does not work for you, try this or your method using the new database.
Prince
source share