Hi all,
i m trying to create database diagram but as soon as i click on DATABASE diagrams it gives me the following error:
TITLE: Microsoft SQL Server 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.
------------------------------
BUTTONS:
OK
------------------------------
what should i do since i m new to sql server....so,i cant understand what exactly i have to do can someone explain me in simple words....
thnks in advance.

SQL SERVER database DIAGRAMS problem...
tatero
Hi Max, am George, i have been trying to use database diagrams with sql server 2005 standar edition i have visual studio .net 2005 standar edition too, i have read your post but i dont have the option in the Dropdown from the Compatibily level from the option page the label with the option "SQL Server 2005(90)", it only appears "SQl Server 2000" and "SQL Server 7.0"....please help, what can i do!....
thx for your time.
Marco Dorantes
pasand
arl_garm
Thanks a ton....
Regards,
Shuch..
tmasboa
Brian Pursley
I finally, I think, figured out what the problem is.
In SQL Server Management Studio do the following:
1. Right Click on your database, choose properties
2. Goto the Options Page
3. In the Dropdown at right labeled "Compatibility Level" choose "SQL Server 2005(90)"
4. Goto the Files Page
5. Enter "sa" in the owner textbox.
6. Hit OK
after doing this, I am now able to access the Database Diagrams.
It would be nice to know the reasons behind the error (or maybe even a more descriptive error message.....)
but this seems to have done the trick for me. Your mileage may vary
-Max Schilling
Pikechan
Make sure you have the Server components installed which will upgrade your SQL Server 2000 services to 2005.