d365collaborative / d365fo.tools

Tools used for Dynamics 365 Finance and Operations
MIT License
246 stars 101 forks source link

Import bacpac fails on 10.0.17 #531

Closed turbozapekanka closed 3 years ago

turbozapekanka commented 3 years ago

PS C:\Users\Userc5c413ea041> Import-D365Bacpac -ImportModeTier1 -BacpacFile "D:\temp\turnkey testbackup.bacpac" -NewDatabaseName "AxDB2" [18:13:49][Test-PathExists] The C:\Program Files (x86)\Microsoft SQL Server\140\DAC\bin\SqlPackage.exe path wasn't found . Please ensure the path exists and you have enough permission to access the path. WARNING: [18:13:49][Test-PathExists] Stopping because of missing paths.

the sqlPackage is in the 130 folder for some reason.

Splaxi commented 3 years ago

I guess that this is a newly deployed VM.

You should always run Invoke-D365InstallSqlPackage before working with bacpac files.

This will download the latest version and reconfigure the module to use that version going forward.

turbozapekanka commented 3 years ago

Yes, already figured it out Thanks!

On Wed, Mar 31, 2021, 3:01 PM Mötz Jensen @.***> wrote:

I guess that this is a newly deployed VM.

You should always run Invoke-D365InstallSqlPackage before working with bacpac files.

This will download the latest version and reconfigure the module to use that version going forward.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/d365collaborative/d365fo.tools/issues/531#issuecomment-811413196, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE6QDG3YC4BNJXDXM2CY3ELTGN5S5ANCNFSM42FHR2EA .

Splaxi commented 3 years ago

Awesome.