SQL Server Management Studio cannot create diagrams
Posted by
Venkat Varkala
Labels:
SQL Server
I always get below error while trying to create a database diagram in SQL Server 2005 Management Studio.
"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."From my experience, this problem usually occurs with restored databases and there are two reasons,
- it is always recommended to restore databases with "sa" as owner.
- the database is SQL 2000 database and restored to a SQL 2005 Database engine
- Go to database properties.
- Select Options.
- Change "Compatibility Level" Dropdown to "SQL Server 2005(90)"
Subscribe to:
Post Comments (Atom)

Post a Comment