I am using docs.microsoft.com/.../dbmovement-scenario-exportuat to export the UAT environment DB and then import it into my cloud-hosted development environment that is on our own subscription.Which means I have administration rights on my Dev environment.
I never had a problem doing this. But the last two times I get an error importing the bacpac-file. The first time I thought maybe something went wrong because downloading it from LCS took ages.
I decided to try it again today and it downloaded the 7GB bacpac file from the Asset library (download method: go to LCS > Asset Library > Database backup and click on the backup file name then choose Save as and saved it to the created sub-directory Exportedbacpac onTemporary Storage drive ) within 30 minutes which is the normal length it takes to download.
Then I follow the steps in the link mentioned above. I even opened command prompt with run as administrator. However it returns with the error that the file contains corrupted data.
***
C:\windows\system32>cd C:\Program Files (x86)\Microsoft SQL Server\140\DAC\bin
C:\Program Files (x86)\Microsoft SQL Server\140\DAC\bin>SqlPackage.exe /a:import /sf:D:\Exportedbacpac\tmctestbackup.bacpac /tsn:localhost /tdn:AxDBCopy4 /p:CommandTimeout=21600
Importing to database 'AxDBCopy4' on server 'localhost'.
*** Error importing database:Could not load package from 'D:\Exportedbacpac\tmctestbackup.bacpac'.
File contains corrupted data.
C:\Program Files (x86)\Microsoft SQL Server\140\DAC\bin>
***
Any reason why my cloud hosted development environment doesn't like a bacpac-file created by LCS anymore?
The test environment which is a tier-2 in on V10.0.5 PU29 and my development environment is on V10.0.6 PU30.
Any help and suggestions to get this bacpac file into my development DB is much appreciated.