{{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.

FastAPI throws an error (Error loading ASGI app. Could not import module "main")

Make sure the main fastapi code is in the same directory where you are running the code.