Open
Description
Describe the issue
NAV 2016 Container fails when it get to the 'Copying Report Designer' step with an error: Cannot find path 'C:\NAVDVD\SQLDemoDatabase\CommonAppData\Microsoft\Microsoft Dynamics NAV' because it does not exist.
Full output of scripts
PS C:\AdvaniaGIT\Workspace\GIT\NAV2016_CCB> Get-Module -Name AdvaniaGIT -ListAvailable | Import-Module -DisableNameChecking
PS C:\AdvaniaGIT\Workspace\GIT\NAV2016_CCB> Start-AdvaniaGITAction -Repository "c:\AdvaniaGIT\Workspace\GIT\NAV2016_CCB" -ScriptName "Build-NavEnvironmentFromGIT.ps1" -Wait $false
Using License: C:\AdvaniaGIT\License\Cryobank.flf on C:\AdvaniaGIT\License\Cryobank.flf
Using NAV Container Helper from @freddydk...
BcContainerHelper version 6.1.6
WinRM service is not running, will not try to use WinRM sessions
BC.HelperFunctions emits usage statistics telemetry to Microsoft
Running on Windows, PowerShell 5.1.26100.4061
Starting Docker Image Development Container for Branch ...
Using backup file for Docker Container...
Connecting to repository navdocker.azurecr.io...
Preparing Docker Container for Dynamics NAV...
BcContainerHelper is version 6.1.6
BcContainerHelper is running as administrator
HyperV is Enabled
Host is Microsoft Windows 11 Pro - 10.0.26100.4061
UsePsSession is True
UsePwshForBc24 is True
UseWinRmSession is never
UseSslForWinRmSession is True
Docker Client Version is 25.0.2
Docker Server Version is 25.0.2
Removing Desktop shortcuts
Fetching all docker images
Fetching all docker volumes
ArtifactUrl and ImageName specified
Fetching all docker images
Building image custombuild:onprem-9.0.50357.0-na based on mcr.microsoft.com/businesscentral:ltsc2025 with https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/onprem/9.0.50357.0/na
Pulling latest image mcr.microsoft.com/businesscentral:ltsc2025
ltsc2025: Pulling from businesscentral
1317fe151856: Pulling fs layer
86a55b9bd12c: Pulling fs layer
0f288a59f2c0: Pulling fs layer
572f6ee7f393: Pulling fs layer
96b2de4ebbb5: Pulling fs layer
6b2daa45c118: Pulling fs layer
dd71d06898a0: Pulling fs layer
521421818ef3: Pulling fs layer
7dfaec6b3f31: Pulling fs layer
bf37d121c147: Pulling fs layer
885b751128ef: Pulling fs layer
26205483bc2a: Pulling fs layer
730489962f34: Pulling fs layer
58d70def1621: Pulling fs layer
572f6ee7f393: Waiting
96b2de4ebbb5: Waiting
6b2daa45c118: Waiting
dd71d06898a0: Waiting
521421818ef3: Waiting
7dfaec6b3f31: Waiting
bf37d121c147: Waiting
885b751128ef: Waiting
58d70def1621: Waiting
26205483bc2a: Waiting
730489962f34: Waiting
0f288a59f2c0: Download complete
86a55b9bd12c: Retrying in 5 seconds
86a55b9bd12c: Retrying in 4 seconds
572f6ee7f393: Retrying in 5 seconds
86a55b9bd12c: Retrying in 3 seconds
572f6ee7f393: Retrying in 4 seconds
86a55b9bd12c: Retrying in 2 seconds
572f6ee7f393: Retrying in 3 seconds
86a55b9bd12c: Retrying in 1 second
572f6ee7f393: Retrying in 2 seconds
572f6ee7f393: Retrying in 1 second
572f6ee7f393: Retrying in 10 seconds
572f6ee7f393: Retrying in 9 seconds
572f6ee7f393: Retrying in 8 seconds
572f6ee7f393: Retrying in 7 seconds
572f6ee7f393: Retrying in 6 seconds
572f6ee7f393: Retrying in 5 seconds
572f6ee7f393: Retrying in 4 seconds
572f6ee7f393: Retrying in 3 seconds
572f6ee7f393: Retrying in 2 seconds
572f6ee7f393: Retrying in 1 second
572f6ee7f393: Verifying Checksum
572f6ee7f393: Download complete
96b2de4ebbb5: Verifying Checksum
96b2de4ebbb5: Download complete
6b2daa45c118: Verifying Checksum
6b2daa45c118: Download complete
dd71d06898a0: Verifying Checksum
dd71d06898a0: Download complete
521421818ef3: Verifying Checksum
521421818ef3: Download complete
7dfaec6b3f31: Retrying in 5 seconds
7dfaec6b3f31: Retrying in 4 seconds
7dfaec6b3f31: Retrying in 3 seconds
7dfaec6b3f31: Retrying in 2 seconds
7dfaec6b3f31: Retrying in 1 second
86a55b9bd12c: Verifying Checksum
86a55b9bd12c: Download complete
bf37d121c147: Retrying in 5 seconds
bf37d121c147: Retrying in 4 seconds
bf37d121c147: Retrying in 3 seconds
bf37d121c147: Retrying in 2 seconds
bf37d121c147: Retrying in 1 second
bf37d121c147: Retrying in 10 seconds
bf37d121c147: Retrying in 9 seconds
bf37d121c147: Retrying in 8 seconds
bf37d121c147: Retrying in 7 seconds
bf37d121c147: Retrying in 6 seconds
bf37d121c147: Retrying in 5 seconds
bf37d121c147: Retrying in 4 seconds
bf37d121c147: Retrying in 3 seconds
bf37d121c147: Retrying in 2 seconds
bf37d121c147: Retrying in 1 second
bf37d121c147: Retrying in 15 seconds
bf37d121c147: Retrying in 14 seconds
bf37d121c147: Retrying in 13 seconds
bf37d121c147: Retrying in 12 seconds
bf37d121c147: Retrying in 11 seconds
bf37d121c147: Retrying in 10 seconds
bf37d121c147: Retrying in 9 seconds
bf37d121c147: Retrying in 8 seconds
bf37d121c147: Retrying in 7 seconds
bf37d121c147: Retrying in 6 seconds
bf37d121c147: Retrying in 5 seconds
bf37d121c147: Retrying in 4 seconds
bf37d121c147: Retrying in 3 seconds
bf37d121c147: Retrying in 2 seconds
bf37d121c147: Retrying in 1 second
bf37d121c147: Verifying Checksum
bf37d121c147: Download complete
885b751128ef: Verifying Checksum
885b751128ef: Download complete
26205483bc2a: Verifying Checksum
26205483bc2a: Download complete
730489962f34: Verifying Checksum
730489962f34: Download complete
58d70def1621: Verifying Checksum
58d70def1621: Download complete
1317fe151856: Verifying Checksum
1317fe151856: Download complete
7dfaec6b3f31: Verifying Checksum
7dfaec6b3f31: Download complete
1317fe151856: Pull complete
86a55b9bd12c: Pull complete
0f288a59f2c0: Pull complete
572f6ee7f393: Pull complete
96b2de4ebbb5: Pull complete
6b2daa45c118: Pull complete
dd71d06898a0: Pull complete
521421818ef3: Pull complete
7dfaec6b3f31: Pull complete
bf37d121c147: Pull complete
885b751128ef: Pull complete
26205483bc2a: Pull complete
730489962f34: Pull complete
58d70def1621: Pull complete
Digest: sha256:cddb3166dff08e5e0a5c9205ffae1eee31252e0de62bae94e41452862022b61d
Status: Downloaded newer image for mcr.microsoft.com/businesscentral:ltsc2025
mcr.microsoft.com/businesscentral:ltsc2025
Generic Tag: 1.0.2.64
Container OS Version: 10.0.26100.3781 (ltsc2025)
Host OS Version: 10.0.26100.4061 (24H2)
Host OS is 26100 (24H2) or above, recommended isolation mode is hyperv.
Using hyperv isolation
Using license file C:\AdvaniaGIT\License\Cryobank.flf
Files in c:\bcartifacts.cache\z4c0isdz.rf5\my:
Copying Platform Artifacts
c:\bcartifacts.cache\onprem\9.0.50357.0\platform
Copying Database
Copying Licensefile
Copying Installers
C:\bcartifacts.cache\onprem\9.0.50357.0\na\Installers
Copying TestToolKit
C:\bcartifacts.cache\onprem\9.0.50357.0\na\TestToolKit
Copying UpgradeToolKit
C:\bcartifacts.cache\onprem\9.0.50357.0\na\UpgradeToolKit
c:\bcartifacts.cache\z4c0isdz.rf5
Sending build context to Docker daemon 974MB
Step 1/6 : FROM mcr.microsoft.com/businesscentral:ltsc2025
---> 668481000982
Step 2/6 : ENV DatabaseServer=localhost DatabaseInstance=SQLEXPRESS DatabaseName=CRONUS IsBcSandbox=N artifactUrl=https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/onprem/9.0.50357.0/na filesOnly=False
---> Running in c015adfb5dbd
---> Removed intermediate container c015adfb5dbd
---> ce687d5dcdaa
Step 3/6 : COPY my /run/
---> 4786dc6f9740
Step 4/6 : COPY NAVDVD /NAVDVD/
---> f2e6b3f5b310
Step 5/6 : RUN \Run\start.ps1 -installOnly
---> Running in 4499c61f75d1
c:\run\my folder doesn't exist, creating it
Using DVD installer from C:\Run\90
Installing NAV: InstallOnly=True
Starting Local SQL Server
WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to
start...
Installing Url Rewrite
Installing SQL Clr Types
Installing Report Viewer
Installing OpenXML
Starting Internet Information Server
Copying Service Tier Files
Copying Web Client Files
Copying Windows Client Files
Copying PowerShell Scripts
Copying Test Assemblies
Copying TestToolKit
Copying UpgradeToolKit
Copying ClientUserSettings
Copying ReportBuilder
Cannot find path 'C:\NAVDVD\SQLDemoDatabase\CommonAppData\Microsoft\Microsoft Dynamics NAV' because it does not exist.
Installation failed
At C:\Run\start.ps1:400 char:9
+ throw "Installation failed"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Installation failed:String) [
], RuntimeException
+ FullyQualifiedErrorId : Installation failed
New-Bcimage Telemetry Correlation Id: 13bd2155-6ee3-4f8d-81ff-0c34341f4ea4
New-NavContainer Telemetry Correlation Id: 519691c3-bd7a-4259-bc69-e15f8deaac16
Microsoft.PowerShell.Commands.WriteErrorException The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; \Run\start.ps1 -installOnly' returned a non-zero code: 1
ExitCode: 1
Commandline: docker build --isolation=hyperv --memory 8G --no-cache --tag custombuild:onprem-9.0.50357.0-na c:\bcartifacts.cache\z4c0isdz.rf5
PS C:\AdvaniaGIT\Workspace\GIT\NAV2016_CCB>```
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Additional context**
- does it happen all the time?
- did it use to work?