Error: Database diagram support objects cannot be installed


There will be situation while creating the database diagram, you got the below error message.

Database diagram support objects cannot be installed because this database does not have a valid owner. To continue, first use the Files page of the Database Properties dialog box or the ALTER AUTHORIZATION statement to set the database owner to a valid login, then add the database diagram support objects.

Above error is self explanatory where it is stating that the “set the database owner to valid login” To fix the issue please follow below one of the solution.

Solution 1:
Execute the below script by mentioning the database name.

ALTER AUTHORIZATION ON DATABASE::MentionDatabaseName TO sa
GO

OR, you can change the owner by executing the below query.

EXEC sp_changedbowner 'sa'

Solution 2:
Right Click on the database -> Database Properties -> click on files page -> change the owner to SA

Advertisements

One thought on “Error: Database diagram support objects cannot be installed

  1. Pingback: Fix Schematic Error Windows XP, Vista, 7, 8 [Solved]

Thanks for the comment, will get back to you soon... Jugal Shah

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s