Notifications
Announcements
No record found.
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
Hi, hope the following will help.
https://yzhums.com/5010/#toc3
Thanks.
ZHU
Good Morning:
Yes, I had followed those instructions.
Oh, well.
Hi, Can you unzip this bacpac file? If there is an error, maybe the file is really corrupted .
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.
It wasn't zipped. It is, in fact, a .bacpac file and not a .zip file.
I have the latest version of SSMS.
Thanks! :)
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.
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?
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.
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.
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?
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 3,010
Jainam M. Kothari 1,270 Super User 2025 Season 2
YUN ZHU 1,085 Super User 2025 Season 2