From 71357d9855e216e78c8df543422ae816e31b80ac Mon Sep 17 00:00:00 2001 From: Freddy Kristiansen Date: Thu, 18 May 2023 07:59:39 +0200 Subject: [PATCH] Issue #3055 --- Bacpac/Restore-BcDatabaseFromArtifacts.ps1 | 4 ++-- ReleaseNotes.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Bacpac/Restore-BcDatabaseFromArtifacts.ps1 b/Bacpac/Restore-BcDatabaseFromArtifacts.ps1 index e8887f28..57ddb70e 100644 --- a/Bacpac/Restore-BcDatabaseFromArtifacts.ps1 +++ b/Bacpac/Restore-BcDatabaseFromArtifacts.ps1 @@ -61,7 +61,7 @@ try { Write-Host "Downloading Artifacts $($artifactUrl.Split('?')[0])" $artifactPath = Download-Artifacts $artifactUrl -includePlatform - $ManagementModule = Get-Item -Path (Join-Path $artifactPath[1] "ServiceTier\program files\Microsoft Dynamics NAV\*\Service\Microsoft.Dynamics.Nav.Management.psm1") + $ManagementModule = Get-Item -Path (Join-Path $artifactPath[1] "ServiceTier\program files\Microsoft Dynamics NAV\*\Service\Microsoft.Dynamics.Nav.Management.dll") if (!($ManagementModule)) { throw "Unable to locate management module in artifacts" } @@ -81,7 +81,7 @@ try { } Write-Host "Importing PowerShell module $($ManagementModule.FullName)" - Import-Module $ManagementModule.FullName + Import-Module $ManagementModule.FullName -NoClobber $databaseServerInstance = $databaseServer if ($databaseInstance) { diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 1c5f6780..1f8e2f5d 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,6 +1,7 @@ 5.0.3 Issue #3051 Unable to import .rapidstart file - The property 'Code' cannot be found on this object Issue #3054 BcContainerHelper doesn't work with Docker 24.0.0. Docker error "WARNING: Ignoring custom format, because both --format and --quiet are set +Issue #3055 Unnecessary administrator check when creating container that uses external database server 5.0.2 Issue #2934 Add setting to containerHelper config: DoNotUseCdnForArtifacts to allow people to grab Artfacts directly from blob storage instead of CDN