BCContainerhelper version
BcContainerHelper version 6.1.14
Describe the issue
Running the following command:
New-NavContainer -accept_eula -accept_outdated -containerName NAV2017 -artifactUrl (Get-NavArtifactUrl -nav 2017 -country DK) -updateHosts -includeCSide -licenseFile license.flf -Auth UserPassword
The container is build and it is operational. At the end it tries to export objects and just hangs on:
Export Objects to C:\ProgramData\BcContainerHelper\Extensions\Original-10.0.30699.0-dk\objects.txt (container path)
I have left it open for hours and no progress. I can access the Windows Client through the link on desktop but the Development enviroment fails to open database due to ODBC errror.
Command or script used to produce the issue
New-NavContainer -accept_eula -accept_outdated -containerName NAV2017 -artifactUrl (Get-NavArtifactUrl -nav 2017 -country DK) -updateHosts -includeCSide -licenseFile license.flf -Auth UserPassword
Full output of the command or script
BcContainerHelper version 6.1.14
BC.HelperFunctions emits usage statistics telemetry to Microsoft
Running on Windows, PowerShell 5.1.26100.8875
Platformurl: https://bcartifacts.blob.core.windows.net/onprem/indexes/platform.json
Downloading Platform index to C:\Users\JanSkrubbeltrang\AppData\Local\Temp\bcContainerHelper.platform.json
Downloading dk index to C:\Users\JanSkrubbeltrang\AppData\Local\Temp\bcContainerHelper.dk.json
BcContainerHelper is version 6.1.14
BcContainerHelper is running as administrator
HyperV is Enabled
Host is Microsoft Windows 11 Enterprise - 10.0.26200.9106
UsePsSession is True
UsePwshForBc24 is True
UseWinRmSession is allow
UseSslForWinRmSession is True
Docker Client Version is 29.6.1
Docker Server Version is 29.6.1
Removing Desktop shortcuts
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:ltsc2025
Creating Container NAV2017
Style: onprem
Multitenant: No
Version: 10.0.30699.0
Platform: 10.0.30699.0
Generic Tag: 1.0.2.118
Container OS Version: 10.0.26100.33158 (ltsc2025)
Host OS Version: 10.0.26200.9106 (Unknown/Insider build)
Host OS is 26100 (24H2) or above, recommended isolation mode is hyperv.
Using hyperv isolation
Using locale da-DK
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file license.flf
Additional Parameters:
--expose 5986
Files in C:\ProgramData\BcContainerHelper\Extensions\NAV2017\my:
- AdditionalOutput.ps1
- AdditionalSetup.ps1
- HelperFunctions.ps1
- license.flf
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container NAV2017 from image mcr.microsoft.com/businesscentral:ltsc2025
cbab8f7200d1ee8676ffb3fa1cebd68d68a1a103ba568fc1c2b61f71956f80d4
Waiting for container NAV2017 to be ready
Using artifactUrl https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/onprem/10.0.30699.0/dk
Using installer from C:\Run\100
Copying Platform Artifacts
c:\dl\onprem\10.0.30699.0\platform
Copying Application Artifacts
Copying Database
Copying Installers
c:\dl\onprem\10.0.30699.0\dk\Installers
Copying TestToolKit
c:\dl\onprem\10.0.30699.0\dk\TestToolKit
Copying UpgradeToolKit
c:\dl\onprem\10.0.30699.0\dk\UpgradeToolKit
Copying Extensions
c:\dl\onprem\10.0.30699.0\dk\Extensions
Installing NAV: InstallOnly=False
Starting Local SQL Server
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 ConfigurationPackages
Copying Test Assemblies
Copying TestToolKit
Copying UpgradeToolKit
Copying Extensions
Copying ClientUserSettings
Copying ReportBuilder
Restoring CRONUS Demo Database
Installing C:\NAVDVD\Installers\DK\OlAddin\OutlookAddIn.Local.Dk.msi
Installing C:\NAVDVD\Installers\DK\RTC\RoleTailoredClient.Local.Dk.msi
Installing C:\NAVDVD\Installers\DK\Server\Server.Local.Dk.msi
Installing C:\NAVDVD\Installers\DK\WebClient\WebClient.Local.Dk.msi
Skipping C:\NAVDVD\Installers\DK\WebHelp\WebHelp.Local.Dk.msi
Modifying NAV Service Tier Config File for Docker
Creating NAV Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Installation took 72 seconds
Installation complete
Initializing...
Setting host.containerhelper.internal to 172.17.192.1 in container hosts file
Starting Container
Hostname is NAV2017
PublicDnsName is NAV2017
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 1415CFD94E98FAB31AE886EA82EAE93FCF5F3A7C
DNS identity NAV2017
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Creating Web Site
Creating Web Server Instance
Creating ManagementServicesPort and setting it to 7045
Using license file 'c:\run\my\license.flf'
Import License
Creating http download site
Setting SA Password and enabling SA
Creating admin as SQL User and add to sysadmin
Creating SUPER user
Enable PSRemoting and setup user for winrm
Creating self-signed certificate for winrm
Container IP Address: 172.17.198.133
Container Hostname : NAV2017
Container Dns Name : NAV2017
Web Client : http://NAV2017/NAV/WebClient/
Setting NAV2017 to 172.17.198.133 in host hosts file
Files:
Container Total Physical Memory is 8.5Gb
Container Free Physical Memory is 6.1Gb
Initialization took 45 seconds
Ready for connections!
remove C:\NAVDVD
Reading CustomSettings.config from NAV2017
Creating Desktop Shortcuts for NAV2017
Export Objects to C:\ProgramData\BcContainerHelper\Extensions\Original-10.0.30699.0-dk\objects.txt (container path)
Additional information
No response
Does this happen every time?
Yes
Did this used to work?
Yes
BCContainerhelper version
BcContainerHelper version 6.1.14
Describe the issue
Running the following command:
New-NavContainer -accept_eula -accept_outdated -containerName NAV2017 -artifactUrl (Get-NavArtifactUrl -nav 2017 -country DK) -updateHosts -includeCSide -licenseFile license.flf -Auth UserPassword
The container is build and it is operational. At the end it tries to export objects and just hangs on:
Export Objects to C:\ProgramData\BcContainerHelper\Extensions\Original-10.0.30699.0-dk\objects.txt (container path)
I have left it open for hours and no progress. I can access the Windows Client through the link on desktop but the Development enviroment fails to open database due to ODBC errror.
Command or script used to produce the issue
New-NavContainer -accept_eula -accept_outdated -containerName NAV2017 -artifactUrl (Get-NavArtifactUrl -nav 2017 -country DK) -updateHosts -includeCSide -licenseFile license.flf -Auth UserPassword
Full output of the command or script
BcContainerHelper version 6.1.14
BC.HelperFunctions emits usage statistics telemetry to Microsoft
Running on Windows, PowerShell 5.1.26100.8875
Platformurl: https://bcartifacts.blob.core.windows.net/onprem/indexes/platform.json
Downloading Platform index to C:\Users\JanSkrubbeltrang\AppData\Local\Temp\bcContainerHelper.platform.json
Downloading dk index to C:\Users\JanSkrubbeltrang\AppData\Local\Temp\bcContainerHelper.dk.json
BcContainerHelper is version 6.1.14
BcContainerHelper is running as administrator
HyperV is Enabled
Host is Microsoft Windows 11 Enterprise - 10.0.26200.9106
UsePsSession is True
UsePwshForBc24 is True
UseWinRmSession is allow
UseSslForWinRmSession is True
Docker Client Version is 29.6.1
Docker Server Version is 29.6.1
Removing Desktop shortcuts
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:ltsc2025
Creating Container NAV2017
Style: onprem
Multitenant: No
Version: 10.0.30699.0
Platform: 10.0.30699.0
Generic Tag: 1.0.2.118
Container OS Version: 10.0.26100.33158 (ltsc2025)
Host OS Version: 10.0.26200.9106 (Unknown/Insider build)
Host OS is 26100 (24H2) or above, recommended isolation mode is hyperv.
Using hyperv isolation
Using locale da-DK
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file license.flf
Additional Parameters:
--expose 5986
Files in C:\ProgramData\BcContainerHelper\Extensions\NAV2017\my:
Creating container NAV2017 from image mcr.microsoft.com/businesscentral:ltsc2025
cbab8f7200d1ee8676ffb3fa1cebd68d68a1a103ba568fc1c2b61f71956f80d4
Waiting for container NAV2017 to be ready
Using artifactUrl https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/onprem/10.0.30699.0/dk
Using installer from C:\Run\100
Copying Platform Artifacts
c:\dl\onprem\10.0.30699.0\platform
Copying Application Artifacts
Copying Database
Copying Installers
c:\dl\onprem\10.0.30699.0\dk\Installers
Copying TestToolKit
c:\dl\onprem\10.0.30699.0\dk\TestToolKit
Copying UpgradeToolKit
c:\dl\onprem\10.0.30699.0\dk\UpgradeToolKit
Copying Extensions
c:\dl\onprem\10.0.30699.0\dk\Extensions
Installing NAV: InstallOnly=False
Starting Local SQL Server
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 ConfigurationPackages
Copying Test Assemblies
Copying TestToolKit
Copying UpgradeToolKit
Copying Extensions
Copying ClientUserSettings
Copying ReportBuilder
Restoring CRONUS Demo Database
Installing C:\NAVDVD\Installers\DK\OlAddin\OutlookAddIn.Local.Dk.msi
Installing C:\NAVDVD\Installers\DK\RTC\RoleTailoredClient.Local.Dk.msi
Installing C:\NAVDVD\Installers\DK\Server\Server.Local.Dk.msi
Installing C:\NAVDVD\Installers\DK\WebClient\WebClient.Local.Dk.msi
Skipping C:\NAVDVD\Installers\DK\WebHelp\WebHelp.Local.Dk.msi
Modifying NAV Service Tier Config File for Docker
Creating NAV Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Installation took 72 seconds
Installation complete
Initializing...
Setting host.containerhelper.internal to 172.17.192.1 in container hosts file
Starting Container
Hostname is NAV2017
PublicDnsName is NAV2017
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 1415CFD94E98FAB31AE886EA82EAE93FCF5F3A7C
DNS identity NAV2017
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Creating Web Site
Creating Web Server Instance
Creating ManagementServicesPort and setting it to 7045
Using license file 'c:\run\my\license.flf'
Import License
Creating http download site
Setting SA Password and enabling SA
Creating admin as SQL User and add to sysadmin
Creating SUPER user
Enable PSRemoting and setup user for winrm
Creating self-signed certificate for winrm
Container IP Address: 172.17.198.133
Container Hostname : NAV2017
Container Dns Name : NAV2017
Web Client : http://NAV2017/NAV/WebClient/
Setting NAV2017 to 172.17.198.133 in host hosts file
Files:
Container Total Physical Memory is 8.5Gb
Container Free Physical Memory is 6.1Gb
Initialization took 45 seconds
Ready for connections!
remove C:\NAVDVD
Reading CustomSettings.config from NAV2017
Creating Desktop Shortcuts for NAV2017
Export Objects to C:\ProgramData\BcContainerHelper\Extensions\Original-10.0.30699.0-dk\objects.txt (container path)
Additional information
No response
Does this happen every time?
Yes
Did this used to work?
Yes