I'm trying to set up a new project in ASP.Net Core using an existing database.
When I run the following console command, however, I get a login failed error.
Scaffold-DbContext "Server=(localdb)\mssqllocaldb;Database=TeamAllyLibrary;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models
I get the following error each time.
Cannot open database "TeamAllyLibrary" requested by the login. The login failed.