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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, I got it fixed by running this:
exec sp_change_users_login 'Auto_Fix', 'dba'
exec sp_change_users_login 'Auto_Fix', 'dba'
ASKER
Yes, I saw that, but wondering what I put as the owner when I run the script.