{{theTime}}

Search This Blog

Total Pageviews

Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.

Set the database owner to fix this issue.
Goto database properties -->Files-->Owner.

1 comment:

Eshu said...

Even If you have @test annotation if the server is busy or your code is building new flyway for database it creates this kind of error.
Try running again after few seconds.

Generate Models from SQL Server using Entity Framework Core

To generate models from SQL Server database tables using Entity Framework (EF) in .NET, you can follow the Database-First approach with Ent...