The "TestDB" database requested by the login cannot be opened. Failed to log in
The "TestDB" database requested by the login cannot be opened. Failed to log in. An error occurred when logging in to the user " MicrosoftAccount\". I tried to enter the username and password from the Microsoft account in the User Id and password fields and still did not work, you can tell me how to fix this problem, I also tried to enter the local database, too, the error was knocked out Scaffold-DbContext "Server=\SQLEXPRESS; Database=TestDB; Trusted_Connection=true; User Id = ; Password = ;" Microsoft.EntityFrameworkCore.SqlServer
0
Author: sadness mugetsu, 2020-05-23
1 answers
You can use this ConnectionString:
Server=.\SQLEXPRESS;Database=TestDB;Trusted_Connection=True;
0
Author: Nur.B, 2020-07-06 16:59:41