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:
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
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?
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
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:
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
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
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
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.
Hope this helps.
Thanks.
ZHU
Good Morning:
Yes, I had followed those instructions.
Oh, well.
John
André Arnaud de Cal...
294,424
Super User 2025 Season 1
Martin Dráb
233,043
Most Valuable Professional
nmaenpaa
101,158
Moderator