Thursday , April 18 2024

Database diagram support objects cannot be installed because this database does not have a valid owner

 

ERROR MESAGGE:

“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.”

EXPLANATION:

When you move a database from another Instance to SQL Server 2005 Instance(Backup-Restore or Detach-Attach), you may encounter this error when you try to create a Database Diagram in this database.

SOLUTION:

To solve this problem, you can set and use the following script according to your environment.

You must change the value of 90 according to the SQL Server version you are using.

Loading

About Ekrem Önsoy

The original article was written in Turkish by Ekrem Önsoy and translated to English by dbtut with the consent of the author. The copyright of the article belongs to the author. The author shall not be liable in any way for any defect caused by translation.

Leave a Reply

Your email address will not be published. Required fields are marked *

Categories