رفع ارور TITLE Microsoft SQL Server Management S
رفع پیغام خطای SQL Server
1
2
3
4
5
|
TITLE: Microsoft SQL Server Management Studio ------------------------------ 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. (Microsoft SQL Server, Error: 15517) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=13.00.4001&EvtSrc=MSSQLServer&EvtID=15517&LinkId=20476 ------------------------------ BUTTONS: OK ------------------------------
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.
|
این پیغام خطا با اجرای دستور زیر برطرف خواهد شد:
1
|
use [YourDatabaseName] EXEC sp_changedbowner 'sa'
|