Solved

Drop Failed: Te database principal owns a fulltext catalog in the database

Posted on 2011-03-17
3
2,069 Views
Last Modified: 2012-05-11
Hello,

I moved a SQL Server 2005 database to SQL Server and the account has lost its password. So, I tried dropping it and recreating it in the database. I get the error:

Drop failed for User 'dba'.  (Microsoft.SqlServer.Smo)
The database principal owns a fulltext catalog in the database, and cannot be dropped. (Microsoft SQL Server, Error: 15138)

I have about 20 fulltext catalog's in the database. Which owner would I use in the script below?

sp_changeobjectowner  'app_facility_catalog', [ @newowner = ] 'owner'

Thanks.



0
Comment
Question by:gtrapp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
Ztinel earned 500 total points
ID: 35162064
0
 

Author Comment

by:gtrapp
ID: 35166418
Hi,

Yes, I saw that, but wondering what I put as the owner when I run the script.
0
 

Author Comment

by:gtrapp
ID: 35167240
Thanks, I got it fixed by running this:

exec sp_change_users_login 'Auto_Fix', 'dba'
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question