Blog Stats
  • Posts - 26
  • Articles - 0
  • Comments - 78
  • Trackbacks - 0

 

Database diagram support objects cannot be installed because this database does not have a valid owner

Bir SQL veritabanını SQL Server 2005 üzerinde restore yaptıktan database diagram oluşturmak istersek bazen aşağıdaki gibi bir hata ile karşılaşırız.

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.

Bu durumda yapılabilecek en pratik çözümlerden bir tanesi aşağıda.

New Query penceresinde aşağıdaki prosedürü çalıştırdığınız zaman sorun çözülecektir. veritabani-ismi kendi veritabanınıza göre düzenlenmelidir. Kullanıcı olarak da sa seçili. İsterseniz başka bir kullanıcı için de değiştirip çalıştırabilirsiniz.

EXEC sp_dbcmptlevel 'veritabani-ismi', '90';
go
ALTER AUTHORIZATION ON DATABASE::veritabani-ismi TO "sa"
go
use [veritabani-ismi]
go
EXECUTE AS USER = N'dbo' REVERT
go


Feedback

# re: Database diagram support objects cannot be installed because this database does not have a valid owner

Gravatar çok sağolun yaa bunu paylaştıgınız için sql server 2008 dede işe yaradı vallaaa gecenin bu saatinde ne kadar dua etsem az :))) 03:32 12/18/2009 3:32 AM | hacer

# re: Database diagram support objects cannot be installed because this database does not have a valid owner

Gravatar Never knew that. Thanks for the info. I think your blog is going to do well. People will always return to read this kind of content. Great job. ,I really appreciate your work to this site. 2/4/2010 8:01 AM | casino on-line

# re: Database diagram support objects cannot be installed because this database does not have a valid owner

Gravatar saol kardesım cok lazımdı tesk 2/13/2010 11:43 PM | muhsin

# re: Database diagram support objects cannot be installed because this database does not have a valid owner

Gravatar Database diagram support objects cannot be installed because this database does not have a valid owner. To continue and 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.........................
4/19/2010 12:25 PM | Link Building Services

# re: Database diagram support objects cannot be installed because this database does not have a valid owner

Gravatar Bu veritabanı geçerli bir sahibi olmadığı için Veritabanı şeması destek nesneler yüklenemez. devam ve ilk geçerli bir mantık, sonra veritabanı sahibi ayarlamak için Veritabanı Özellikleri iletişim kutusunda veya ALTER YETKİ deyiminin Files sayfasını kullanın eklemek veritabanı diyagramını destek nesneleri 5/4/2010 10:30 AM | termpaper

# re: Database diagram support objects cannot be installed because this database does not have a valid owner

Gravatar I started to do some work with a SQL Express database that I received from another person. The problems started when I tried to add a Database Diagram to the project. Normally when you do this you do need to create the diagram objects in the database...................................
http://mumbai.classifiedneeds.com/ 5/12/2010 8:52 AM | classifieds mumbai

# re: Database diagram support objects cannot be installed because this database does not have a valid owner

Gravatar 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. 5/22/2010 3:39 PM | Dining Room Furniture

# re: Database diagram support objects cannot be installed because this database does not have a valid owner

Gravatar Hi,
The real problem is that the default owner(dbo) doesn't have a login mapped to it at all.As I tried to map the sa login to the database owner I received another error stating "User,group, or role 'dbo' already exists...".However if you try this code it will actually works 5/24/2010 2:49 PM | NISHU GUPTA

# re: Database diagram support objects cannot be installed because this database does not have a valid owner

Gravatar This database does not have a valid dbo user or you do not have permissions to impersonate the dbo user, so database diagramming is not available. Ensure the dbo account is valid and ensure you have impersonate permission on the dbo account.
6/11/2010 11:22 AM | los angeles limousine

# re: Database diagram support objects cannot be installed because this database does not have a valid owner

Gravatar I am writing a research paper on date bases. Can I use the information I leart here to write an outline for it? I will refere you as one of the sources, of course?
thanks,
Steve 7/28/2010 6:14 PM | essay help

Post a comment





 

Please add 8 and 4 and type the answer here:

 

 

Copyright © Yunus Özen