SQL SERVER – Database diagram support objects cannot be installed because this database does not have a valid owner
This is one of
the common error message developer face while creating DB diagram.
Error
Screen:
Solution :
Solution is
simple one, run following script to ALTER AUTHORIZATION for your
DB.
-- Replace DB_Name : to your DB
ALTER AUTHORIZATION ON DATABASE::DB_Name TO sa
GO
GO
Or you can Alter
Authorization with designer with following steps:
- Right Click on your DB and Select Properties
- Select Files (second option from left side pane).
- In the OWNER box, click on button to add user(reference: below fig.).
- Now select user ‘sa’ and click OK.
Comments
Post a Comment