because the principal dbo does not exist 问题解决方法
生活随笔
收集整理的這篇文章主要介紹了
because the principal dbo does not exist 问题解决方法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
在做復制時,要刪除一個發布,遇到錯誤:
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.
解決方法:
這個庫是我直接從一個2K5備份文件上恢復到2K8實例的,沒有做其它設定。
因為我是在sa登錄遇到此錯誤
USE?master GO EXEC?sys.sp_dbcmptlevel?@dbname?=?N'MyDB',@new_cmptlevel?=?90 GO USE?MyDB GO EXEC?sys.sp_changedbowner?@loginame?=?sa,@map?=?'dbowner'? GO轉載于:https://blog.51cto.com/joetang/1606789
總結
以上是生活随笔為你收集整理的because the principal dbo does not exist 问题解决方法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Carlex Design 改装梅赛德斯
- 下一篇: 谷歌推出Project Tailwind