Re: sql server 2005 - database diagram problem
- From: "Jasper Smith" <jasper_smith9@xxxxxxxxxxx>
- Date: Sun, 16 Apr 2006 00:24:18 +0100
You need to change the compatability level of the database to 90 (SQL2005)
to create the objects
EXEC sp_dbcmptlevel 'databasename', 90
This will be fixed in SP1 I believe.
--
HTH,
Jasper Smith (SQL Server MVP)
http://www.sqldbatips.com
"Filip De Backer" <filip_de_backer@xxxxxxxxxxxx(donotspam)> wrote in message
news:D65EF6EB-4CF2-45D7-9897-8AA5F672725A@xxxxxxxxxxxxxxxx
Hi everyone,
I've want to create a database diagram I got the following error:
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.
The database was owned by user Filip.
I've changed the owner to sa.
But the problem still remains.
When I created a brand new database and copied the tables to that
database,
the problem was fixed.
But that is a stupid solution.
All my databases have this problem.
Even when I'm logged in as Filip instead of sa.
thanks!
Filip
.
- Follow-Ups:
- Re: sql server 2005 - database diagram problem
- From: Dan Guzman
- Re: sql server 2005 - database diagram problem
- Prev by Date: Re: SQL 2005 Encryption with restored databases
- Next by Date: Re: Linked Server Confusion - I don't know where to start...
- Previous by thread: SQL 2005 Encryption with restored databases
- Next by thread: Re: sql server 2005 - database diagram problem
- Index(es):
Relevant Pages
|
|