Link to home
Start Free TrialLog in
Avatar of gtrapp
gtrapp

asked on

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

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.



ASKER CERTIFIED SOLUTION
Avatar of Ztinel
Ztinel

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gtrapp
gtrapp

ASKER

Hi,

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

ASKER

Thanks, I got it fixed by running this:

exec sp_change_users_login 'Auto_Fix', 'dba'