Cannot Reset Passwords in GP; User Locked Out.
-
Cannot Reset Passwords in GP; User Locked Out.
Posted by Unknown Member on January 10, 2019 at 2:04 pm-
We cannot reset passwords in GP and we keep getting this error message. We’ve tried to reset passwords in the SQL server and it does not work. We think its because Dynamics GP encrypts passwords differently then in SQL. If anyone can help we could appreciate it.Ā
-
Hi Jessie,
The Error tells me you have Rockton Software ToolBox installed…
So you need to start there and see what you have setup.
To get moving you can simply ‘UNCHECK’ the ‘Enable Password Policy’ from Rockton to adjust.——————————
Kerry Hataley
CEO & President
Nanook Software, Inc
——————————
——————————————- -
HelloĀ Kerry,
Thanks for the reply!
We made sure that setting is unchecked; should we reinstall GP without any add-ons and then try to reset password?
——————————
Jesus Lopez
APC
Raleigh NC
——————————
——————————————- -
A couple of things to try…
1. Are you trying this as ‘SA’?
I have seen something like this before (Not Rockton) where the ODBC DNS name has been changed and/or are different on the systems.
Are you on the server doing this?
Need more info on the environment you are accessing from.
This is also an SQL hack to force the user to create a new password…Dynamics will force the user to enter a new password when it is <blank>.
If you are comfortable with SQL, you could run this script on the user with this issue…ALTER LOGIN [ <SQLUserID> ] WITH PASSWORD = ”
——————————
Kerry Hataley
CEO & President
Nanook Software, Inc
——————————
——————————————- -
Luc St-Yves
MemberJanuary 10, 2019 at 2:55 PM
I have seen something similar to this before, and the cause was that GP client was installed without the third party.If you go under Microsoft Dynamics / Tools / Customize / Customization Status, do you see Rockton Software third installed and Activated ?
——————————
Luc St-Yves
Business Analyst
Co-Leader GPUG – Montreal chapter
Humanware Technologies
Drummondville QC
——————————
——————————————- -
Yes i do see rockton Dynamics GP Toolbox.——————————————-
-
Yes i am logged in as the SA and I’m on the server; I’ll try to run the script in SQL and let you know——————————————-
-
HelloĀ Kerry,
We’ve tried the SQL password reset command and it does not work; anything else you can recommend. (BTW we recently did a GP upgrade from 2016 to 2018)——————————————-
-
Luc St-Yves
MemberJanuary 10, 2019 at 6:14 PM
I would recommend 2 avenues to initiate :
1) Place a call at Rockton or at your GP VAR since it seem to be a problem related to the third party
2) If the SQL did not work, open SSMS, connect to your database and open the logins.Ā Double-click the faulting login and blank the password, then save.Ā It will gives you a warning since you are blanking the password, confirm that is what you want.Ā Then ask the user to login GP, leaving his password blank.Ā It should prompt him to resume his password.Good luck !
——————————
Luc St-Yves
Business Analyst
Co-Leader GPUG – Montreal chapter
Humanware Technologies
Drummondville QC
——————————
——————————————- -
Hello,
I’ll go head and place a call to Rockton and ask them to take a look at the issue. I;ll let you guys know what happens.
Thanks toĀ Kerry Hataley,Ā Luc St-Yves,Ā Charles Ray for all the help!——————————————-
-
In case Rockton, doesn’t get back to you quickly I couple more questions / comments.
1. I don’t know how the SQL Alter didn’t work – Unless you tried to reset password from Dynamics GP after this. The step should be:
Ā Ā Ā a. Run the Alter SQL script
Ā Ā Ā b. From a Dynamics GP system, have the user login with there user ID, as that point it will tell them there password is blank and will require them to enter a newThis should fix the first issue, with them access the system.
Now you mentioned that you have done an update, is the version of Rockton Toolbar at the correct version?
Also, after you updated the Rockton, did you run the required scripts to finish the update Ā – sometime required as ‘Admin’ depending how the Dynamics GP was installed. (Run Dynamics GP as Admin – right click on Dynamics GP)
You could also run the Install/Upgrade toolbox again… and re-run… look for errors
——————————
Kerry Hataley
CEO & President
Nanook Software, Inc
——————————
——————————————- -
This is the SQL command we had to run;
ALTER LOGIN userid WITH CHECK_POLICY = OFF
GO
ALTER LOGIN userid WITH PASSWORD = ”;ĀAfter this the the users password was blank! we just had to update the users password and they were able to log in!
(I also reinstalled GP without any add on’s and we were also able to reset user passwords in GP it’s self.)I need to call Rockton and ask then why GP Tool Box is creating this issue.——————————————-
-
Charles Ray
MemberJanuary 11, 2019 at 6:28 AM
You are correct in that GP encrypts passwords, therefore any user adds and password changes must be done in GP.Ā It is also essential that the ODBC ‘Server’ connection on the login window is identically named since the ODBC connector name is part of the encryption algorithm.
For troubleshooting:
1. Log into GP on the server as ‘sa’ or ‘DYNSA’.Ā Note the ‘Server’ name (Default for your version is ‘Dynamics GP 2018’.
2. Change the user’s password in the User Setup window.
3. Switch user in GP, logging on as that user with the reset password.
4. If that works, have the user try logging in on their own client, making sure the Server name is identical – ‘Dynamics GP 2018’ and ‘Dynamics GP 2018 (New)’ are not the same.
5. If that does not solve the problem, consider creating a new user – the record may be corrupted.
6. Check the 32-bit ODBC System DSN and make certain it was not modified – ANSI flags must be off, and the loginĀ must be SQL, not Integrated Windows.
Since you are using HR, are you also using Greenshades?Ā If so, there was an issue with GreenshadesĀ Center throwing a password-related error due to the increased length of the GP password field from 15 to 21 characters.Ā It did allow you to log in, however,Ā so I don’t see that being the cause – just food for thought.
As always, contact your VAR for additional assistance.——————————
Charles Ray
Senior Systems Specialist
CAL Business Solutions, Inc.
Harwinton CT
——————————
——————————————- -
Luc St-Yves
MemberJanuary 11, 2019 at 11:10 AM
Just to clarify, and also to confirm my thinking…Ā ? your comments about the ODBC name connection, I think, are wrong,I have other terminal servers having clients where the ODBC name is not exactly the same, but which point the same sql server.Ā No problem with the password.Ā They work everywhere.
You are right thus, the password encryption is “sql server” dependant, but it is rather the SQL server name itself that is part of the encryption, not the ODBC.
Cheers
——————————
Luc St-Yves
Business Analyst
Co-Leader GPUG – Montreal chapter
Humanware Technologies
Drummondville QC
——————————
——————————————- -
Beat Bucher
MemberJanuary 14, 2019 at 10:46 AM
I agree with ,
It’s the SQL server name that’s key to the password encryption.. not the ODBC link name..
To avoid problems when moving/upgrading SQL server?s in the past, I’ve always used an ALIAS for the DNS entry of the GP / SQL server and given it a generic name like “DYNAMICSGP” and my SQL instance was always called DYNAMICSGP too, which makes the server name in connection strings very easy to remember : DYNAMICSGPDYNAMICSGP
The name of the ODBC connection doesn’t matter at all, and that’s why most people run into issues, because the GP client wasn’t deployed in a consistent matter. Sometime it was the full server name that was used, sometime it was an IP Address. that works as long as the user doesn’t change client workstation to login into GP..——————————
Beat Bucher
Business Analyst, Dynamics GP SME
Montreal QC/Canada
@GP_Beat http://www.gp-geek.com
Montreal QC GPUG Chapter Leader
MBS MVP (2015-2018)
——————————
——————————————- -
Charles Ray
MemberJanuary 14, 2019 at 11:04 AM
Thanks for the correction and clarification!——————————
Charles Ray
Senior Systems Specialist
CAL Business Solutions, Inc.
Harwinton CT
——————————
——————————————- -
FYI: I wrote an article on 2008 on the password encryption model.
https://blogs.msdn.microsoft.com/developingfordynamicsgp/2008/10/01/why-does-microsoft-dynamics-gp-encrypt-passwords/
Regards
David
——————————
David Musgrave MVP, GPUG All-StarManaging Director
Winthrop Development ConsultantsPerth, Western Australia
http://www.winthropdc.com
——————————
——————————————- -
Charles Ray
MemberJanuary 15, 2019 at 5:06 AM
Thanks, David.Ā I can never remember where I read that originally.Ā I’m going to bookmark it for future reference.——————————
Charles Ray
Senior Systems Specialist
CAL Business Solutions, Inc.
Harwinton CT
——————————
——————————————- -
Also, don’t forget that GP Power Tools, Database Validation tool includes functionality to do a bulk reset of user’s passwords ( and keeps the encryption).
GP Power Tools Portal: http://WinthropDC.com/GPPT
Regards
David?
——————————
David Musgrave MVP, GPUG All-StarManaging Director
Winthrop Development ConsultantsPerth, Western Australia
http://www.winthropdc.com
——————————
——————————————-
Unknown Member replied 6 years, 8 months ago 1 Member · 0 Replies -
-
0 Replies
Sorry, there were no replies found.
The discussion ‘Cannot Reset Passwords in GP; User Locked Out.’ is closed to new replies.