Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Password Change Failed for an Unknown Reason

Posted on by Microsoft Employee

Hello:

Back when I was a consultant, I moved GP data to new SQL servers many times.  I'm familiar with the steps involved.

Also, I know that when you move data to a new server, you have to change the password of every GP user.

The policy at my company is to "Enforce Password Policy", including the use of complex SQL passwords for GP and to have users change their passwords at their initial login session.

We are testing the move of data.  Although the installation of GP 2013 R2 (12.00.1920) and its integrating apps went well, I cannot successfully change GP user passwords.

Specifically, in the GP User Setup window, I will change a password to something complex and have the three Advanced SQL Server checkboxes at the bottom of the window checked.

When I try to login to the main GP screen with this new password, GP accepts it and prompts me to change it.  That's good.

But, no matter what I change it to, I get the message saying that the "login failed for an unknown reason and to contact your administrator".

I tried this with two GP user IDs, in this test environment.

I have tried every remedy that I have found in my own arsenal of technical documents and those online but to no effect.

Now, some of the IT people that I work with do not believe in using the steps for the "Capture_Logins.sql" script.  I have no doubt that those steps were not taken.

In any case, the only user that can successfully login to GP in this test environment is "sa".

Does anyone have any ideas?

Thanks!

John

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Password Change Failed for an Unknown Reason

    Wow!  That's a brilliant insight, Mick!

    Even though I no longer see the issue currently in our test environment, I'm going to definitely examine what you've said!  You've definitely made me curious.  And, we're going to be conducting testing again in a few weeks.  It would be interesting, to say the least, if this were the cause.

    Thanks, so much!!!

    John

  • Verified answer
    Mick Egan Profile Picture
    Mick Egan 3,557 on at
    RE: Password Change Failed for an Unknown Reason

    John,

    I would like to add my experience to this question.

    If you check the SQL server Logs, you will notice the login Failed for user 'xxx', Reason: Failed to open the explicitly specified database". Database Name, Client <Named Pipes>.

    What I found was when the ODBC is tested it displays  a Network Alias was found for the DSN Server, Protocol: DBNMPNTW.

    The solution was just to grant access to the specified database in SQL, didn't even worry about adding in Dynamics GP, and this solved the issue.

    The User was a new User setup, and the only one to Fail.

    Mick

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Password Change Failed for an Unknown Reason

    Hello:

    I don't know why this worked.  But, I deleted a newly created GP user in this test environment and recreated her.  After doing so, I was able to change her password and login--without the "login failed for an unknown reason" error!

    Then, I was able to do likewise for a few other users.

    It's strange that it's working, all of a sudden.  I checked and there is no 24-hour password "delay".

    So, again, that's very strange.

    John

  • Suggested answer
    Beat Bucher  GP Geek  GPUG All Star Profile Picture
    Beat Bucher GP Gee... 28,021 Super User 2024 Season 1 on at
    RE: Password Change Failed for an Unknown Reason

    Hi John,

    Your question got plenty of good suggestions on the same thread in GPUG Collaborate..

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Password Change Failed for an Unknown Reason

    The same issue occurs.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Password Change Failed for an Unknown Reason

    The same issue.

  • Suggested answer
    RE: Password Change Failed for an Unknown Reason

    Also John have checked the user id is under company security on sql if so please delete the same and try again.

  • RE: Password Change Failed for an Unknown Reason

    Okay John,

    What happens if you create a brand new user.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Password Change Failed for an Unknown Reason

    Hi Babu:

    Yes, I tried this.  I'm afraid that it told me that the login failed.

    John

  • RE: Password Change Failed for an Unknown Reason

    Hi John,

    Have you tried to untick the change the password on the next login and make the user to change the password after login to GP under user preference.  I have experienced exactly the same and vaguely remember that i done this way :-)

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