DIXF Service is Unavailable After Installing a Newer Dynamics AX Kernel Hotfix
After installing a newer Kernel, the Dynamics AX Data Import Export Framework (DIEF) stopped working. I have run into this issue in Dynamics AX 2012 R2 and Dynamics AX 2012 R3 environments.
This is the error that the user would see:
“The DIXF service is unavailable. Please contact the system administrator.-Unable to connect to the remote server…”
“System.ServiceModel.ProtocolException: Content Type application/soap+xml; charset=utf-8 was not supported by service http://Servername:7000/DMFService/DMFServiceHelper.svc. The client and service bindings may be mismatched.”
This issue can happen if your Microsoft Dynamics AX Data Import/Export Framework service is installed on SQL server and the AOS server is on another server (multi-server environment), or a single server environment where both AOS and DIEF services are on the same server.
The solution to the DIXF service is unavailable error:
There are three things you will need to check.
1. Locate this file on the AOS server:
:\Program Files\Microsoft Dynamics AX\60\Server\ YourAOSName\bin\Microsoft.Dynamics.AX.Framework.Tools.DMF.ServiceProxy.dll.config
Open the above config file with Notepad or any text editor of your choice. Locate this line:
<endpoint address=”http://localhost:7000/DMFService/DMFServiceHelper.svc” binding=”wsHttpBinding” bindingConfiguration=”wsHttpBindingEndpoint” contract=”DMFServiceReference.ServiceContract” name=”wsHttpBindingEndpoint”>
After applying a kernel hotfix, the above URL gets changed to localhost. So, if your DIXF service is on a different server than your AOS server, it will fail because it is not on “localhost.” Edit this line in the file: Microsoft.Dynamics.AX.DMF.ServiceProxy.dll.config and change “localhost” in that line to the name of your SQL server where the DIXF service is installed.
2. Compare the AX DIEF service version (this will be on the server where SSIS is running) with the DIEF Server and DIEF Client version.
Do this by going to Control Panel> Programs and Features> View Install Updates (top left) on the servers where the DIEF components are installed. If you have AX kernel hotfix applied to these DIEF components, make sure the same kernel KB was applied to all 3 DIEF components.
3. Make sure your SQL 2012 version is at a version that is at or higher than SQL 2012 SP2 CU7.
This is a solution for single server environment as well, where both the AOS and DIEF services are on the same server.