Cannot create database diagrams - sqlserver-faq
This is a discussion on Cannot create database diagrams - sqlserver-faq ; Hi, I am new to SQL 2005. I have recently setup SQL Server 2005 and retore a database from SQL 2000. The database seem to be working except that It won't allow me to chane or create new database diagram. ...
| | LinkBack | Thread Tools | Display Modes |
|
#1
| |||
| |||
| I am new to SQL 2005. I have recently setup SQL Server 2005 and retore a database from SQL 2000. The database seem to be working except that It won't allow me to chane or create new database diagram. The following error: TITLE: Microsoft SQL Server Management Studio Express ------------------------------ 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 ------------------------------ SF |
|
#2
| |||
| |||
|
Customize and run the following command batch: EXEC sp_dbcmptlevel 'yourDB', '90'; go ALTER AUTHORIZATION ON DATABASE::yourDB TO "yourLogin" go use [yourDB] go EXECUTE AS USER = N'dbo' REVERT go -- Ekrem Önsoy "SF" news:u6aQmvlNIHA.5860@TK2MSFTNGP04.phx.gbl... > Hi, > > I am new to SQL 2005. I have recently setup SQL Server 2005 and retore a > database from SQL 2000. The database seem to be working except that It > won't allow me to chane or create new database diagram. > > The following error: > > TITLE: Microsoft SQL Server Management Studio Express > ------------------------------ > > 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 > ------------------------------ > > > SF > |
|
#3
| |||
| |||
|
Thank you Ekrem Önsoy It work very well. Sf "Ekrem Önsoy" news:B940FE13-BD19-4BB8-834B-C04DE070A397@microsoft.com... > Customize and run the following command batch: > > EXEC sp_dbcmptlevel 'yourDB', '90'; > go > ALTER AUTHORIZATION ON DATABASE::yourDB TO "yourLogin" > go > use [yourDB] > go > EXECUTE AS USER = N'dbo' REVERT > go > > -- > Ekrem Önsoy > > > > "SF" > news:u6aQmvlNIHA.5860@TK2MSFTNGP04.phx.gbl... >> Hi, >> >> I am new to SQL 2005. I have recently setup SQL Server 2005 and retore a >> database from SQL 2000. The database seem to be working except that It >> won't allow me to chane or create new database diagram. >> >> The following error: >> >> TITLE: Microsoft SQL Server Management Studio Express >> ------------------------------ >> >> 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 >> ------------------------------ >> >> >> SF >> > |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
LinkBack to this Thread: http://dbaspot.com/forums/sqlserver-faq/348914-cannot-create-database-diagrams.html | ||||
| Posted By | For | Type | Date | |
| Khalid-Khan's blog - StumbleUpon | This thread | Refback | 08-24-2009 03:56 AM | |
| Database diagram support objects cannot be installed - microsoft.public.sqlserver.programming | Google Groups | This thread | Refback | 02-26-2009 12:21 AM | |
| chris carter's web log | This thread | Refback | 01-26-2009 07:04 PM | |
All times are GMT -4. The time now is 05:53 PM.

Linear Mode