Error Running SQL Server Express Backup: "system.data.sqlclient.sqlerror: the server principal is not able to access the database under the current security context" (Doc ID 2108121.1)

Last updated on FEBRUARY 29, 2016

Applies to:

Primavera P6 Professional Project Management - Version 8.3.2.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to backup the database via SQL Server Express, the following error occurs:

ERROR
-----------------------
system.data.sqlclient.sqlerror: the server principal is not able to access the database under the current security context


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Log into SQL Server Management Studio with Windows Authentication or user other than sa, the system administrator account.
2. Expand databases
3. Right click on the database and choose tasks -> backup
4. Hit ok at the backup screen, accepting the defaults
5. See error

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot backup the database.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms