Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Error while importing data package

Posted on by 90

Hi Folks,

I am getting an error while importing data package in D365FO:

"Could not find file 'C:\windows\TEMP\677157F6-18CA-49F6-A818-E4137CC6BA1F_27432AE2-126A-480D-B492-5337DF4C7A4F\PackageHeader.xml'".

D54F9E12.PNG

Steps I performed are below:

1) Exported data package solution having 2 entities for Customers and Customer groups.

2) Unzipped the file generated in step 1.

3) Modified one of the entity files by adding one record.

4) Zipped the folder again. Tried with all Windows compressed folder, WinZip, WinRar.

5) Imported the package in D365

Please let me know if you have faced the similar issue.

*This post is locked for comments

  • Suggested answer
    Diana Raileanu Profile Picture
    Diana Raileanu 37 on at
    Error while importing data package
    The solution lies in the way the package was zipped. Select all import files (including the Manifest and the PackageHeader) > WinZip > Add to {package name}
    Zipping the folder like this will result in the error on import. 
  • Suggested answer
    K_G Profile Picture
    K_G 130 on at
    RE: Error while importing data package

    I was experiencing the same issue.

    So I went back to the Export project I used and I checked the box labelled "Generate data package" before clicking the Export button.

    Then I downloaded the data package, updated the Excel files within it, and I was successfully able to import my package.

    7651.PIC.JPG

  • Suggested answer
    TripleA Profile Picture
    TripleA 110 on at
    RE: Error while importing data package

    Hi Rajeshvari,

    Please make sure that the zip file folder doesn't have a child folder in which your package files exist because the system will only check the zip file folder and if header or any other file is not present, it will fail.

    e.g. zippedfile.zip should contain the header.xml etc.

    It should not be like zippedfile.zip > zippedfile > header.xml etc

    Hope this solves the issue.

  • Rajeshvari Solanki Profile Picture
    Rajeshvari Solanki 145 on at
    RE: Error while importing data package

    Is this issue resolved? what is the solution.

    I am getting same error.

  • Reliable Profile Picture
    Reliable 2,015 on at
    RE: Error while importing data package

    Is your issue resolved? What is the solution.

    Thanks,

    Sangram

  • Suggested answer
    Sukrut Parab Profile Picture
    Sukrut Parab 71,647 Moderator on at
    RE: Error while importing data package

    Your zip file  is not in proper format. Make sure you have done compression properly and it contains Metadata files.  

  • Suggested answer
    TripleA Profile Picture
    TripleA 110 on at
    RE: Error while importing data package

    Hi prkr,

    Please make sure that the zip file folder doesn't have a child folder in which your package files exist because the system will only check the zip file folder and if header or any other file is not present, it will fail.

    e.g. zippedfile.zip should contain the header.xml etc.

    It should not be like zippedfile.zip > zippedfile > header.xml etc

    Hope this solves the issue.

  • Reliable Profile Picture
    Reliable 2,015 on at
    RE: Error while importing data package

    Hi,

    This seems like bug, you can open MS ticket for this.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans