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.

gradlew : The term 'gradlew' is not recognized as the name of a cmdlet, function, script file , or operable program

The command gradlew was not found, but does exist in the current location.  Windows PowerShell does not load commands from the current locat...