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:




Related Posts

1 Comment

  1. ashraf

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


Submit a Comment

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

Upcoming Events


06oct10:00 am10:30 amPreview of D365 Business Central Fall Release Features and Functionality

06oct12:00 pm12:30 pmInsider's Guide to New Features Available in the Fall Release of D365 Finance and Supply Chain

07oct11:00 am12:00 pmConfab LIVE with Stoneridge - Dataverse and Dynamics in Review – Let’s Get Technical

13oct12:00 pm12:30 pmWave 2 Release – What’s Coming for Dynamics 365 Sales and Customer Service

21oct11:00 am12:00 pmConfab LIVE with Stoneridge - Dataverse and Dynamics in Review – Let’s Get Functional

26oct(oct 26)9:00 am28(oct 28)5:00 pmStoneridge Connect Leadership and Community Conference


04nov11:00 am12:00 pmConfab LIVE with Stoneridge - Challenging the Development Paradigm

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!