"Property Owner is not available for Database" error while trying to access a MS SQL 2008 database. Print

  • 0

The error "Property Owner is not available for Database" occurs when the owner of the database is missing. To resolve the issue, the owner has to be assigned to the database. Following are the steps to enable owner to the database.

1. Open SQL Server Management Studio via Start --> Program Files --> Microsoft SQL Server 2008 R2 --> SQL Server Management Studio.
2. Login using sa credentials
3. Open Query window from File --> New --> Query with current connection. Alternatively, you can also click on the New Query option displayed below the file menu.
4. Run the query "sp_helpdb DB_Name" (without the double quotes) to check the database properties. Here, DB_Name is the name of the database. The query will show the owner as UNKNOWN.
5. Now, we will assign the owner to the database. For this, first set the desired database as the current database by running the query "Use DB_NAME" where DB_NAME is the name of the database.
6. Run the query "sp_changedbowner sa" (without the double quotes). This query will set 'sa' as the owner of the database.
7. Now, you will be able to access the database and all the tables.


Was this answer helpful?

« Back