We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


When I click on the Database Diagram node in Sql Server 2005, I get an error message that tells me the databse object cannot be installed.

grouchyfd asked
Medium Priority
Last Modified: 2012-06-22
I just loaded Sql Server 2005 Developer Edition onto my server to help with developing ADO.Net apps. I tried to creat a diagram using a couple of related tables but I got an error message: "Database objects cannot be installed because the database does not have a valid owner". I never had to do this with Sql server 2000 to create my diagrams. What do I need to install to make some diagrams?

Watch Question

The database was probably a sql 2000 database i guess?     Check the database compatibility level in database properties.    it must be set to 9.0 or you cant create diagrams.


I can't seem to locate any thing like this in the properties windows of the database. The rest of the message is:
"To continue, first use the Files page of the Database Properties box or the ALTER AUTHORIZATION statement to set the database owner to a valid login, then add the database diagram support objects."  When I open the Files page, database owner is listed as (my server name)\Administrator. I also have it set up with Windows Authentication so I wouldn't have to login to the server all the time.
dont worry about the detail of the error message ,it's misleading.

from SQL Server MAnagement Studio:
right click the database and click properties,   from there on the left hand side click on "Options".   the screen shows a field called "Compatability level"  change this to SQl Server 2005 (90).


I found the compatability level and changed it to Sql Server 2005 (90). I restarted the the server and I still get the same message when I try to make a diagram.
ok.  now change the database owner to sa

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


Thank you ShogunWade for your help and expertise. That got it. I know enough SQL Server to get me in trouble, but I need it for my app. development.
Youre welcome
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.