Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

The server principal "NT AUTHORITY\NETWORK SERVICE" is not able to access the database "DYNAMICS" under the current security context.

Posted on by 40

Hi All,

I am able to successfully create user by using eConnect. After creation update some information by using sql queries. 

At the time i am facing this problem.

 Master Data Base : DYNAMICS

Company Data Base: TWO

i am using "NT AUTHORITY\NETWORK SERVICE" to communicate to the sql server.

i pass the connection string related to TWO database.

By Sql server Throws an error 

Error : The server principal "NT AUTHORITY\NETWORK SERVICE" is not able to access the database "DYNAMICS" under the current security context.

Is econnect checks the user permission,Is econnect or Sql server check the permission on each action.

Pleas give some idea about problem.

Thanks,

Srinivasulun.

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: The server principal "NT AUTHORITY\NETWORK SERVICE" is not able to access the database "DYNAMICS" under the current security context.

    Follow the below mentioned link..... hope this will fix your problem.

    blog.sqlauthority.com/.../sql-server-fix-error-cannot-open-database-requested-by-the-login-the-login-failed-login-failed-for-user-nt-authoritynetwork-service

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans