Unable to create Database diagrams

by rahul 6/16/2009 10:21:17 PM

Just re-installed Visual Studio 2008 SP1 on my brand new Windows 7 RC, along with SQL Server 2005. I was struggling with the following error for a while, since I wanted to create a Database Diagram.

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
------------------------------

Here is what resolved it for me.


    Right Click on your database, choose properties
    Goto the Files Page
    Enter "sa" in the owner textbox.
    4. Hit OK

Hope this helps, Wave
Rahul


Quote of the day:
Always and never are two words you should always remember never to use. - Wendell Johnson


blog comments powered by Disqus

Search


Tags



Categories

Calendar

<<  September 2010  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar

All Items
Sign in

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2010, Rahul Soni

Powered by BlogEngine.NET 1.4.5.0