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

By Josh Score | May 24, 2016

Dynamics ax dief error: package execution failed please check event log in dmf service box

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

Recommended Reading:

Manage U.S. Use Tax on Purchase Orders in Dynamics 365 Finance and Operations

  Managing sales tax requirements on your business purchase can be complicated, but Dynamics 365 Finance and Operations can help […]

Read the Article
5.19.22 Dynamics CRM

How to Write a Great Support Ticket in the Stoneridge Support Portal

Submitting a support ticket through the Stoneridge Support Portal is a quick and effective way to get assistance for any […]

Read the Article

Managing Your Business Through Uncertain Times Using Dynamics 365 Finance and Operations

  Dynamics 365 Finance and Operations (F&O) can help you make informed decisions on how to move your business forward. […]

Read the Article
5.13.22 Power Platform

Using Power BI Object Level Security

  The following article will demonstrate how to use Power BI Object Level Security to disable column data based on […]

Read the Article
5.12.22 Dynamics CRM

How to Use the Stoneridge Support Portal

Stoneridge Software’s support portal is an intuitive and useful function that makes it easy for you to access resources to […]

Read the Article
5.6.22 Dynamics GP

Dynamics GP Transaction Removal: Purchase Orders

  Are you having performance issues with Purchase Orders?  Do you find that there are old Purchase Orders on your […]

Read the Article
5.5.22 Dynamics GP

The Real Story about the Long-Term Future of Dynamics GP Support

I’ve seen a number of people put forward comment that Dynamics GP is going away and you have to get […]

Read the Article

New Features in Dynamics 365 Business Central 2022 Wave 1 Release – Financial Enhancements

The Dynamics 365 Businses Central 2022 Wave 1 Release has a lot of new and exciting features to help your […]

Read the Article
4.29.22 Dynamics GP

Dynamics GP Transaction Removals: Bank Reconciliation

  This is part 2 of a 3 part series on Dynamics GP Transaction Removals. These quick tips will hopefully […]

Read the Article

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!