Unable to create Database diagrams

by rahul 6/17/2009 3:39:17 AM

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

<<  March 2010  >>
MoTuWeThFrSaSu
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

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