Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

SQL Server Error 916 - The server principal is not able to access the database under the current security context

Posted on by Microsoft Employee

SQL Server Error 916 - The server principal is not able to access the database under the current security context

I am receiving the above error when trying to "Post Transactions" in the GL. This error message normally means that I need to Sync all ownership and security in update databases. I did this but still receiving the error. Anyone have another solution? It would be greatly appreciated.

Thank you,


Frank

*This post is locked for comments

  • Suggested answer
    Ram Peru Profile Picture
    Ram Peru 2,830 on at
    RE: SQL Server Error 916 - The server principal is not able to access the database under the current security context

    Hello,

    Do you have any custom trigger in GLTran/Batch table?

    please try the below link for this issue.

    community.dynamics.com/.../74563

    support.microsoft.com/.../240872

    community.dynamics.com/.../14413

    support.microsoft.com/.../2655112

    please let me know how it goes.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: SQL Server Error 916 - The server principal is not able to access the database under the current security context

    Take a look at this link www.sqlserverlogexplorer.com/fix-error-code-916 hope this will help you out  

  • Apps Mexico Profile Picture
    Apps Mexico 1,090 on at
    RE: SQL Server Error 916 - The server principal is not able to access the database under the current security context

    Do you have customizations?

    do you use sql or windows security context?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans