App-V database jobs fail with error - “Executed as user dbo. The server principal “sa” is not able to access the database under the current security context. [SQL State 08004] error 916”.

SYMPTOMS
The App-V Management Server installation creates database jobs in the SQL jobs section. When one of the database jobsis executed, the job fails with the error message:

“Executed as user dbo. The server principal “sa” is not able to access the database under the current security context. [SQL State 08004] error 916”.
CAUSE
The correct database is not selected in the SQL Server jobs configuration.
RESOLUTION
1. Open SQL Management Studio. 

2. Navigate to the SQL Server Agent\Jobs node in Object Explorer.

3. Open “Properties” for the Job.

4. Select the Page for “Steps” in the left pane.

5. Select “Edit” and change the database name to the App-V Database being used. (e.g. APPVIRT).
MORE INFORMATION
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
Properties

Article ID: 2597203 - Last Review: 11/16/2011 19:08:00 - Revision: 1.0

  • KB2597203
Feedback