Error: 'Pharos is not the database owner' during an upgrade of the Pharos Database.
  • 28 Mar 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Error: 'Pharos is not the database owner' during an upgrade of the Pharos Database.

  • Dark
    Light
  • PDF

Article summary

Problem:

When running an upgrade of the Pharos Database the following error appeared after starting the upgrade process “Pharos is not the database owner”. The SQL login 'pharos' is the db_owner.Inside the pharos database, the objects are owned by a user role other than db_owner. For our upgrade scripts to work the objects must all be owned by the user role db_owner, and this role should be assigned to the SQL login 'pharos'.


Resolution:

The following SQL query will update the user role ownership of the objects in the Pharos Database. Steps on setting the SQL login as db_owner can be found in a separate FAQ.

USE master

EXEC sp_configure N'allow updates', '1'

RECONFIGURE WITH OVERRIDE

USE pharos

update sysobjects set uid = 1

USE master

EXEC sp_configure N'allow updates', '0'

RECONFIGURE WITH OVERRIDE

There is an update in the latest version of Uniprint that changes how the the account is checked, see KB Article 2089.


Was this article helpful?


Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.