DIXF / DIEF: Error occurred while saving the package

By Craig Conzemius | February 8, 2017

When using DIXF (Data import export framework) users may receive a general error “Error occurred while saving the package” for multiple reasons, such as not having Excel (or the Microsoft Access Database Engine) installed when linking to Excel files, incorrect data in the source file, the DIXF service not running, etc….

I’ve run into a recurring situation where this occurs after refreshing an AX environment (such as updating a Test environment with a copy of Production). Nothing else changed and DIXF was working fine prior to the environment refresh.

Infolog error

Solution to 'Error occurred while saving the package' :

I was able to resolve the above error with a manual workaround at this time which is to re-validate the shared working directory for DIXF within setup. The AOS and DIXF services were started as part of the environment refresh process.

  1. Navigate to the Data import/export framework parameters form
    a. Data import export framework | Setup | Data import/export framework parameters
  2. Modify the Shared working directory
    a. Add a letter z to the end of the path as we’re trying to make it fail temporarily
  3. Click Validate (it should error out as the path is now invalid)
    a. See Figure 1 below
  4. Now remove that letter z and click Validate again.
  5. It should validate successfully now.
    a. See Figure 2 below
  6. You can now try to preview your source file within DIXF again or proceed with your import.
Data import/export framework parameters

Figure 1

Data import/export framework parameters

Figure 2

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!

X