Microsoft Dynamics AX Support

This blog contains posts by the Microsoft Dynamics AX Support Teams Worldwide

Check AOS event logs and SQL Server error logs for key messages using DynamicsPerf

As part of general monitoring of Dynamics AX overall system health and/or troubleshooting, you’ll want to check the Windows event logs in your AOS server(s) and SQL Server error logs. If you have DynamicsPerf (Performance Analyzer for Microsoft Dynamics) installed, you can quickly check for key messages and if necessary, export and move them all… Read more

How to link the Purchase order line with a Vendor invoice line in the AIF VendVendInvoiceService service.

I have seen this issue come up several times so I thought a little blog article would be helpful to the Dynamics AX developers working with this AIF service. When creating a Vendor Invoice using the VendVendInvoiceService service, you may have a business requirement to associate the Vendor invoice line with a Purchase order line. The… Read more

Calling the BudgetTransactionService on AX 2012

We recently had a request for an example of how to call the BudgetTransactionService AIF create operation which allows you to created budget register entries. Setup: Create an inbound AIF port using the first 10 steps (Setup with AX) from the Budget entries import in AX2012 ( to create a NetTcp AIF inbound port. Create… Read more

Requesting large packages across AX AIF can result in timeout errors after 30 seconds regardless of your timeout values

A common time out exception you may experience with NetTcp AIF calls in AX is: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was ’01:09:59.9770000′. This error can be deceptive… Read more

How to Setup Send XML Document for AP Payment Journals

The goal of this post will be to walk through the necessary AIF setup required to utilize the Send button in the Account Payable Journal Voucher form.  Clicking on the Send button without setup will result in an error message without much description on how to configure the necessary end point.  Message: “No endPoints are… Read more

Map the Full Product name from Dynamics AX for the CRM Connector

This blog post comes from a question in the Microsoft Dynamics AX community board at The question was how to map the full Product Name and not the NameAlias field that is in the InventTable table. The NameAlias field is a shorter field so it does not give you as good as description. I had originally suggested to… Read more

Troubleshooting that elusive “slowdown” in AX using Performance Analyzer 1.20 for Microsoft Dynamics

It’s 9.30am on Monday morning and you’ve just received reports of a “general slowdown” on Microsoft Dynamics AX. After probing further you find it was all over by 9:15am lasting around 15 minutes, but also happened once before and the users want action taken to prevent it happening again. There are never any guarantees when… Read more

Collect a series of traces automatically with Dynamics AX 2012

Introduction The following steps are one way to collect a series of AX traces on a schedule with all versions of AX 2012 on the AOS server, using standard Windows tools: Perfmon combined with Task Scheduler. This example collects a 1 minute trace at 5 minute intervals. This can be useful for example if you… Read more

Adding Exchange Rates using the AIF LedgerExchangeRateService Service

The following is a quick example that may help if you need to add an Exchange Rate to an existing Currency Pair in Microsoft Dynamics AX 2012 R3 using the AIF LedgerExchangeRateService service. I ran into a couple snags along the way and finally was able to insert data correctly in AX using the below. When you create the AIF Inbound Port… Read more

Error when browsing a custom service hosted as IIS web service: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

Title: Error when browsing a custom service hosted as IIS web service – An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) Scenario: You are using Microsoft Dynamics AX 2012 You have created several Custom Services that you can deploy using NetTcp successfully and consume the WSDL in… Read more