Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

General Questions on Credentials for GP ODBC Connections

Posted on by Microsoft Employee

Hello:

We're on GP 2013 R2 (12.00.1920).  Today, we changed our "sa" password.  We do so, about every sixty days.

None of our ODBC connections were based on the "sa" user ID.

So, the very first time that I tried to login as "sa" on each of our three production Terminal Server boxes, I received a message saying that the password that I entered was incorrect.

The second time that I tried on each box, the "sa" password worked perfectly.

Again, the "Dynamics GP 2013" ODBC connection were not configured with "sa".  They were originally created, by the app, when it was first installed.

So, for at least two boxes, "SYSTEM" was the User ID field for the "Dynamics GP 2013" ODBC connection. 

On the other box, the User ID field contained a read-only login that we use for reporting purposes when extracting data from SQL into Excel.  I think that I was doing some testing in Microsoft Query a few weeks ago on that box and had "accidentally" changed the credentials for the "Dynamics GP 2013" ODBC connection in the "Data Sources" window of Microsoft Query, not realizing that I was changing the credentials for GP 2013 R2 also.

Since I was having the issue on all three production Terminal Servers where I was told by GP that my "sa" credentials were wrong on the first attempt and the second time was told that they were correct, I decided to update the "Dynamics GP 2013" ODBC connection on all three boxes with the new "sa" credentials.  I did this, in hopes of this issue not happening again, when we change the "sa" password again sixty days from now.

Here are my concerns and my questions.  When we change the "sa" password sixty days from now, will no one be able to access or use GP, until I go on to each of the three boxes and update the "Dynamics GP 2013" ODBC connection to reflect the new "sa" password?

If so, what is the best way to prevent the "stifling" of users from accessing and using the app?

Thanks!

John

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: General Questions on Credentials for GP ODBC Connections

    Hi There, Leslie!

    Thanks, so much, for the quick response!

    The DSNs are the same.  That's a good point, though.

    And, thanks for alleviating my concern on the setup of the DSNs, going forward!  :)

    I do find it odd that, the very first time that I tried to login as "sa" in GP itself after the password change on each of the three boxes, I was told that the password was incorrect.  But, on my second attempt, the password entry was successful.

    I'm going to research that one, as well, just to satisfy my own curiosity.

    That was why I decided to check the DSNs.  That was just too weird.

    Thanks, again!

    John

  • Verified answer
    L Vail Profile Picture
    L Vail 65,271 on at
    RE: General Questions on Credentials for GP ODBC Connections

    Hi John,

    When you set up a DSN and use a user ID and Password to test the connection, it does not save the password with the DSN. That login is used only for the connectivity test you run at the end. The username and password is checked for correctness when you tab off of the screen on which you entered it. You could use any valid SQL Server user ID (not a GP user ID). One thing you might want to check is that all of the DSNs are EXACTLY the same on each machine. Capitalization counts here.

    Make sure you don't have any services running that rely on the sa password.

    Kind regards,

    Leslie

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans