Post#2: Common DIEF Issues

If you ever used DIXF/DIEF for AX 2012 R3 you would have noticed a host of odd error messages. Most of the time dixf is not installed or the service is not running.

Below is a common example of one of these errors:

“Could not load file or assembly ‘Microsoft.Dynamics.AX.DMF.PreviewGrid, Version=6.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.”

 Possible issues:

  1. DIXF is not installed
  2. DIXF is installed but service not working
  3. Check if the file in the processing group is available
  4. Check if the folder where the file is store is accessible by the AOS account
  5. Incorrect Server url
  6. Incorrect data source formats

Lets get into the details for each of the above:

1) DIXF is not installed: Verify that the Data Import/Export Framework DLLs are present in C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin folder. You should see the following:

  • Dynamics.AX.DMF.PreviewGrid.
  • Dynamics.AX.DMF.ServiceProxy.dll
  • DMFconfig.xml
  • Dynamics.AX.DMF.DriverHelper.dll

Possible Resolution: Copy the DLLs from the installation location (C:\Program Files\Microsoft Dynamics AX 2012 Data Import Export Framework Client Component) to the C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin folder.

If you can’t find it then just reinstall DIXF using the below options in the installation setup. Also reinstall if after you copy the dlls but it still doesn’t work just to be safe.

dief1

2) DIXF is installed but service not working: Connect to server and check the windows services and make sure that the highlighted Data import/export service is working.

dmf_srv_services

Navigate to the System admin–>Setup–>Services and Application integration Framework–>Inbound ports

Make sure the DMF services have a check mark against it, if not click on the record and select the activate button on top.

dief_inboundports

3) Check if the file in the processing group is available: Make sure physically the same file name is available at the folder location specified.

4) Check if the folder where the file is store is accessible by the AOS account: In AX navigate to the Data import export framework module–>Setup–>Data import/export framework parameters.

In this form make sure there is a directory and click validate to make sure if the folder is accessible by the AOS account.

dief4

5) Incorrect Server url: Check the service connection url field shown in the above screenshot. This should be the server where you installed DIEF.

If it is not the correct server path you need to log into your AOS server(s) and locate the below dll file:

:\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”>

Change localhost to the name of the server you installed DIEF and save the file. You do not need to restart your AOS for this to work also you can do this while users are online.

6) Incorrect data source formats: Make sure that your processing group has the correct source data format attached which matches your import file. In some cases i have seen user manage to corrupt the source file, so whenever possible try to past special values into new csv/excel files created by yourself so you can be sure that there is no issue with the source file.

If you have tried all of the above and still it hasn’t worked n some rare cases the installation might have got corrupted so I suggest uninstalling and reinstalling as mentioned in step1. Happy importing…

2 thoughts on “Post#2: Common DIEF Issues

  1. You can also add some more details like incorrect data source formats. One other cause that I found most of the times we tend to ignore.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s