Printer name is invalid error when printing a report

We came across an issue where we got the following error when trying to open or print a report: OpenPrinter_1: rc:0 lastError:1801(0x709) The printer name is invalid. The printer was installed on the domain server and when checking the printer name we could verify that the printer name doesn’t include illegal characters as “\” or “,”. Finally…


How does the Dynamics AX Setup detect existing AOS Instances?

The Dynamics AX Setup process involves several components. There is the Setup.exe, the AxSetup.exe and several MSI files (which are Windows Installer Packages). The Setup.exe that is launched usually from the Dynamics AX DVD is extracting the AxSetup.exe to the local Temp folder and executes it. The AxSetup.exe is the typical Setup User Interface you…


Possibilities to create Memory Dumps from crashing processes

Sometimes it happens that during regular operation the Dynamics AX Application Object Server (AOS) is suffering from an abnormal program termination, which is better know as a crash. Users connected with the Dynamics AX Client to the affected AOS Instance are noticing such an issue very soon as they get disconnected from the AOS. In…


The installation of the Dynamics AX 2009 AOS can fail with the Internal Error 2769

We recently saw more and more users running into the situation that the installation of the Dynamics AX 2009 Application Object Server is failing. The log file that is created during the installation showed the following information: MSI (s) (FC:9C) [18:26:21:017]: Leaked MSIHANDLE (6) of type 790531 for thread 4888 MSI (s) (FC:9C) [18:26:21:017]: Note:…


Kerberos authentication issues in a multi server environment affecting only the KPI web part

When you are setting up Dynamics AX 2009 Role Center and Enterprise Portal in a multi server environment where each component is running on Windows Server 2008 you may get confronted with an authentication issue. The base requirement for a multi server scenario to work is to use Kerberos authentication and configuring Service Principle Names…


Issue selecting items from Combo Boxes when the Dynamics AX Client is running as RemoteApp

Windows Server 2008 introduces a nice feature for the Terminal Services that is called RemoteApp. RemoteApp programs are accessed remotely through Terminal Services and appear as if they are running on the local computer. The RemoteApp is integrated on the client PC’s desktop, running in its own resizable window and showing up in the taskbar….


Error executing code: The method has been called with an invalid number of parameters.

One of the great features of Dynamics AX is the rich integration with other applications or services. The Dynamics AX client is for example exchanging data with Microsoft Office applications like Microsoft Office Excel or Microsoft Office Outlook. Some of these interactions are performed using COM. When the Dynamics AX Client is using COM for…


Why does the server need to free resources and terminates client sessions?

You might got into this situation before… you are working in the Dynamics AX Client as usual and all of a sudden you see the following warning message: Communication error The server needs to free resources. Your session has been terminated. After you click OK the Dynamics AX Client is closed (terminated). OK, what has…


Installing Dynamics AX 2009 Enterprise Portal on a web site that has Host Headers configured

Recently I came across the situation that the installation of the Dynamics AX 2009 Enterprise Portal failed. The error message in this scenario was: The Web site http://server/sites/Dynamics AX was not created correctly. The remote server returned an error: (401) Unauthorized. System.Net.WebException    at System.Net.HttpWebRequest.GetResponse()    at Microsoft.Dynamics.Framework.Portal.Deployment.EPFeatureReceiver.CreateAxSitesAndPages(SPWeb site)    at Microsoft.Dynamics.Framework.Portal.Deployment.EPFeatureReceiver.ProvisionAxSite(SPWeb site) The reason…


Could not communicate with Microsoft Office Outlook client

Dynamics AX is integration with Microsoft Office Outlook for sending E-Mails, doing synchronization in the CRM Module, etc. In several occasions you can get confronted with the following or a similar error message: Could not communicate with Microsoft Office Outlook client. A very common reason for this error is that the mapi32.dll in the System32…