Drop Failed: Te database principal owns a fulltext catalog in the database
Posted on 2011-03-17
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'