Corruption of the database owner record

SQL Server
6.5 and older
7.0-8.5
9.0-9.7
9.8
https://kb.netwrix.com/1369
Copy Article URL Copied

Database cannot be accessed and you receive an error messages containing the ‘invalid owner’ text.


When the Database Content Audit option is selected, on each data collection Netwrix Auditor checks if the TRUSTWORTHY property is enabled on the monitored databases, and enables the property when it is disabled. Sometimes this process can corrupt the database owner record.


In Microsoft SQL Server Management Studio, run the following command: ‘ALTER AUTHORIZATION ON DATABASE::db_name TO user_name’, where ‘db_name’ is a name of the corrupted database and ‘user_name’ is the db owner account name.

Go Up