Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Strange log-in behavior

Posted on by Microsoft Employee

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

  • 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
    L Vail 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

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