Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Error when trying to connect to GP with a new user

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

I created a new user and when the user is trying to connect to GP, she receives the following error message:

"A get/change operation on table 'syUserDefaults' failed accessing SQL data dynamics gp"

More Info : "The server principal "(username)" is not able to access the database "DYNAMICS" under the current security context."

I don't know what's causing this problem.

Can someone please help me?

Thanks is advance.

*This post is locked for comments

  • Fenel Aldajuste Profile Picture
    Fenel Aldajuste 5 on at
    RE: Error when trying to connect to GP with a new user

    Thanks. This helped.

    I deleted the user from the DYNAMICS DB user list and re-Mapped their login to DYNAMICS using the security/logins folder and adding the DYNGRP database role.

  • Suggested answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Error when trying to connect to GP with a new user

    To get this resolved, go into SQL Management Studio and add the corresponding SQL login to the company database as a member of the DYNGRP role.

    Or, go to the following path where dynamics folder relies and run the Grant sql script, the default path location is ; C:\Program Files (x86)\Microsoft Dynamics\GP2013\SQL\Util\Grant.sql

  • Suggested answer
    soma Profile Picture
    soma 24,410 on at
    RE: Error when trying to connect to GP with a new user

    Check whether the user have access for the company which you have tried to login in User Access window (Tools-->Setup-->System-->User Access).

    If yes, change the security permission to the user to poweruser and check whether the user can access GP. If yes, delete the user id and recreate then provide the new role and check again.

    Hope this helps!!!

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans