web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

File Contains Corrupted Data

(0) ShareShare
ReportReport
Posted on by 3,518

Hi:

I'm trying to import the Business Central database backup file (.bacpac) into SQL Server Management Studio.

Unfortunately, I receive the error below saying that the "file contains Corrupted data".

How do I get past this error?

Thanks!

John

pastedimage1658175115703v1.png

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    97,970 Super User 2026 Season 1 on at

    Hi, hope the following will help.

    https://yzhums.com/5010/#toc3

    Thanks.

    ZHU

  • john.ellis Profile Picture
    3,518 on at

    Good Morning:

    Yes, I had followed those instructions.

    Oh, well.

    John

  • Suggested answer
    YUN ZHU Profile Picture
    97,970 Super User 2026 Season 1 on at

    Hi, Can you unzip this bacpac file? If there is an error, maybe the file is really corrupted .

    pastedimage1658269746403v1.png

    pastedimage1658269770030v2.png

    And it is recommended to try with the latest SSMS.

    https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver15

    Hope this helps.

    Thanks.

    ZHU

  • john.ellis Profile Picture
    3,518 on at

    Hi:

    It wasn't zipped.  It is, in fact, a .bacpac file and not a .zip file.

    I have the latest version of SSMS.

    Thanks!  :)

    John

  • Suggested answer
    YUN ZHU Profile Picture
    97,970 Super User 2026 Season 1 on at

    Hi, the bacpac file itself is a zip file in disguise, if you can't open it with software like 7-zip, I think it's corrupted.

    For example, 

    https://techcommunity.microsoft.com/t5/azure-database-support-blog/editing-a-bacpac-file/ba-p/368931

    Sorry for not being able to help you more, hope other experts have better advice.

    Thanks.

    ZHU

  • john.ellis Profile Picture
    3,518 on at

    Hi:

    I downloaded and installed 7-Zip.  

    Then, in 7-Zip, I chose "Extract" and selected the .bacpac file.

    Instead of extracting its contents, it zipped the file!

    What did I do wrong?

    John

  • Suggested answer
    Mahesh U Profile Picture
    433 on at

    Hi John,

    why dont you create a anothe bacpack from database and try with that backup. I am assuming something interrupted your bacpac while you exporting.

    See if it helps.

    Regards,

    Mahesh U.

  • Suggested answer
    YUN ZHU Profile Picture
    97,970 Super User 2026 Season 1 on at

    Hi, what if I choose Open directly?
    And I agree with Mahesh, maybe it's really a file problem, you can try re-exporting it again.

    Hope this helps.

    Thanks.

    ZHU

  • karsvh Profile Picture
    27 on at

    I have the same problem. I exported 2 times and both times the bacpac file generated from BC cloud environment cannot be imported because of corrupted data. 
    The bacpac file does open in 7-zip and looks like all the data is there. Looks like the bacpac file from BC are corrupted anyway?

    Screenshot-2022_2D00_09_2D00_23-165910.pngpastedimage1663945229515v1.png 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,161 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,046 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 932 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans