Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Strange log-in behavior

(0) ShareShare
ReportReport
Posted on by

We have a Dynamics installation that has been around for a very long time, including several upgrades.  We have a couple of users that are exhibiting very strange log-in behavior.  One user usually goes through Citrix to attach to Dynamics.  There are two ODBC connections: one that specifies the name of the server explicitly and one that uses an alias.  Otherwise the connection parameters are identical.  Both test fine.

The user (bob) can successfully use the connection that uses the alias, but not the explicit name.  Most other users can use either without a problem, though most go through the explicitly-named ODBC connection.

What is also strange is that the behavior seems to continue if the user uses my local workstation to get into Dynamics: the aliased server connection works, but the other does not.  My login (a fairly recent addition) gets in fine using either.

The only other item of note is that only Dynamics seems to be affected in this manner: using SQL Server Management Studio or an Excel workbook with an ADO connection string relying on network user name for authentication seem to work just fine no matter how the naming is set up.

Not sure if this is related, but when I try to view the Properties -> Securables tab for the user through Management Studio, I did get a collation conflict error.

 

Very bizarre.

*This post is locked for comments

  • Jonathan Fear Profile Picture
    on at
    RE: Strange log-in behavior

    GP doesn't really play well with Alias'. When a user name is created or a password is changed that password is encrypted based on what is in the server name section of the ODBC connection. So for example if I use the IP address and change a users password it is encrypted based on the IP address. If a user tries to login using an ODBC connection that is using the name of the SQL instance the password will not work because it was encrypted based on the IP address.

    Hope this helps.

  • L Vail Profile Picture
    65,271 on at
    RE: Strange log-in behavior

    Is the DSN the same for all?

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans