"Connection with the Application Object Server could not be established" error in Microsoft Dynamics AX
This article provides a resolution for the Connection with the Application Object Server could not be established error that occurs when users try to sign in to Microsoft Dynamics AX.
Applies to: Microsoft Dynamics AX
Original KB number: 2288968
Symptoms
On a terminal server, new Microsoft Dynamics AX users are not able to sign in to Microsoft Dynamics AX clients on a workstation. The users are seeing this error when signing in to Microsoft Dynamics AX:
"Logon Error: Connection with the Application Object Server could not be established"
Cause
The user's Microsoft Dynamics AX configuration is not correct. The Application Object Server (AOS) server name contains the wrong server name.
Resolution
The aos2
string value had the wrong AOS server name from the original installation. Change the value of aos2
in the following key in registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dynamics\5.0\Configuration\Original (installed configuration)
Now when a new user signs in to the workstation (a terminal server), their Microsoft Dynamics AX configuration would have the correct value. The user's Microsoft Dynamics AX configuration is stored in this key:
HKEY_CURRENT_USER\Software\Microsoft\Dynamics\5.0\Configuration\Original (installed configuration)
The user's Microsoft Dynamics AX configuration key is a copy of the same key from HKEY_LOCAL_MACHINE.