Dynamics AX DIEF error: Package Execution Failed Please Check Event Log in DMF Service Box

by | Updated August 15, 2016 | Dynamics AX

When previewing and importing in Dynamics AX using the Data Import Export Framework tool (DIEF), I recently ran into this error: Package execution failed please check event log in DMF service box.                                                        

Package execution failed please check event log in DMF

This error message was quite deceiving when we found the answer to the issue. It was particular to imports using Excel formats. Almost all CSV format imports worked without issue and in this scenario changing the Excel format to CSV did not resolve it.

To give a bit more background, we were able to verify Excel file formats did import when using a scaled down template and data set. This was important, as we were able to verify the components for DIEF and Dynamics AX to read Excel files was working properly. To test this, try limiting your import file to just required fields and enter something (ex: 1) as a value in each column. This should allow you to preview the file and verify the data is able to be read, even if it isn’t applicable or accurate.

Example: Vendors

Preview source filesAs I mentioned before, the error received was quite deceiving, as we found it was actually our data and setup that was causing the error. We first verified the data that we were attempting to import. Make sure you remove any duplicate values where the record type should be unique. In our scenario, there were duplicate vendor account numbers.

Our second find was empty space. Make sure you review the data for any missing record fields that would be a required when setting up the data manually within Dynamics AX. In our scenario, we had found a few records without a vendor group assigned to a vendor account. To add to this issue, our initial plan was to auto-default currency and language on the vendor records. This was rather interesting, as this is something that defaults when creating a vendor manually, but LanguageID was not a required field in the vendor DIEF entity. We made sure to set the auto-default in the DIEF Modify Source Mapping details form for the columns. This was an easy oversight, as we didn’t think the preview source file process would verify this.

Modify source mappingThe last step I wanted to mention was deleting the empty space columns and rows from the source file. We received the data from another source and even though the blank rows and columns appeared empty, there was something in these fields causing the preview/import to fail. This likely was from text spaces within the fields, as that is something I’ve seen cause issues in both Excel and CSV import files alike.

That being said, the lesson of the story is to verify your source data file. Whether it’s blank columns, required fields, or empty space in random cells, make sure you follow these steps and you can avoid wasting some time on an error that isn’t very clear.

On a side note: This is what the SQL server Event View caught when receiving the error: Package “{xxxx-xxx-xx-xxxx}” failed.

Package execution failed

Here are a couple of interesting resource blogs I came across during this issue:

http://ax2012dmfdataimport.blogspot.com/2014/05/dynamics-ax-2012-dixf-issues-and.html

https://blogs.msdn.microsoft.com/axsupport/2016/01/15/dixf-cannot-preview-source-file-communicationexception-an-error-occurred-while-receiving-the-http-response-from-dmfservicehelper-svc/

 

Related Posts

1 Comment

  1. ashraf

    you can solve this problem, :
    1- make sure you enter correct mandatory data
    2 – remove all special character

    GOOOOOOOOOOOO

Submit a Comment

Your email address will not be published. Required fields are marked *

Upcoming Events

october

07oct12:00 pm1:00 pmThe Three Paths to Business Central from Dynamics GP

08oct11:00 am12:00 pmConfab with Stoneridge - Livestream - The Vision and Strategy of Microsoft Business Systems

14oct10:00 am10:30 amThe Modern Manufacturer - Managing Complex Cost Modeling

14oct12:00 pm12:30 pmGenerating Custom Inspection or Process Forms

19octAll Day22Stoneridge Connect Fall 2020

22oct11:00 am12:00 pmConfab with Stoneridge - Livestream - Stoneridge Connect Recap

28oct10:00 am10:30 amThe Modern Manufacturer - Engineering Change Management: Introduction of NEW Functionality for Manufacturers Using Dynamics 365

november

11nov10:00 am10:30 amThe Modern Manufacturer - Tears and Trauma of MRP

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about, and develop trusting, long-term relationships with our clients.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X