Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

This login failed. Attempt to log in again or contact your system administrator

(2) ShareShare
ReportReport
Posted on by 9

Hi 

Recently my company Old Microsoft Dynamics GP windows server 2012 r2 migrated new Server windows server 2016 OS.

 

The GP users are local SQL account users.As per the Microsoft article SQL login and password Transfer logins and passwords between instances of SQL Server.

https://docs.microsoft.com/en-us/troubleshoot/sql/security/transfer-logins-passwords-between-instances

 

Now all the users facing This login failed. Attempt to log in again or contact your system administrator
 8715.gp.png

Categories:
  • Suggested answer
    CU30120650-0 Profile Picture
    2 on at
    This login failed. Attempt to log in again or contact your system administrator
    Thank you for sharing this information.....
  • CU24121242-0 Profile Picture
    2 on at
    This login failed. Attempt to log in again or contact your system administrator
        Nice and amazing post this one is, thanks for sharing…
  • CU18111347-0 Profile Picture
    2 on at
    This login failed. Attempt to log in again or contact your system administrator
    Thank you for sharing..
  • CU15050559-0 Profile Picture
    2 on at
    This login failed. Attempt to log in again or contact your system administrator
    thanks for sharing the Office Ally information
  • Abubakkar Profile Picture
    9 on at
    RE: This login failed. Attempt to log in again or contact your system administrator

    Hi Bill

    Thanks for your effort and support.

    Above error its not related ODBC issue.

  • Suggested answer
    Bill Campbell Profile Picture
    10 on at
    RE: This login failed. Attempt to log in again or contact your system administrator

    As Richard notes the major cause of this can be the ODBC connection. 

    If you are moving from an older ODBC version - problem.  
    If you have the same version - but you create the ODBC Connection with a different NAME - then same problem.

    So you might have 'imported the SQL logins per the script provided, but you may a difference in ODBC.

    If you already covered this - sorry - just jumping in to put my two bits into the conversation.

  • Richard Wheeler Profile Picture
    75,842 Moderator on at
    RE: This login failed. Attempt to log in again or contact your system administrator

    The problem is in SQL. How many users are we talking about? Can you delete all the users in GP and then go into SSMS and remove these users from the DYNAMICS and all company databases.Go into GP and add these users back. If this is not possible pick one user and drop that user from DYNAMICS and all company databases. Then add that user back to the DYNAMICS database and then go to Tools->Setup->System->User Access click on each company. Make sure this user has been granted the DYNGRP role.

  • Abubakkar Profile Picture
    9 on at
    RE: This login failed. Attempt to log in again or contact your system administrator

    Hi

    i really appreciate your quick response

    yes. I can login any workstation with sql sa account its working fine, If i tried any users account the same error.

  • Richard Wheeler Profile Picture
    75,842 Moderator on at
    RE: This login failed. Attempt to log in again or contact your system administrator

    On one of your workstations, login as 'sa' Does this work? If so, set the user's password on this workstation and then try logging into GP as this user. You may have different versions of the ODBC driver so the password get encrypted differently.

  • Abubakkar Profile Picture
    9 on at
    RE: This login failed. Attempt to log in again or contact your system administrator

    You are correct. but as per Microsoft  refer transfer the logins and the passwords between different instances of SQL Server running on Windows.

    docs.microsoft.com/.../transfer-logins-passwords-between-instances

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,101 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans