Skip to content

[Bug]: Error in NextMajor docker: Cannot synchronize the extension because no synchronized extension could be found to satisfy the dependency definition for Application Test Library by Microsoft 28.0.0.0. #4072

@PeterConijn

Description

@PeterConijn

BCContainerhelper version

6.1.6

Describe the issue

When downloading a NextMajor docker (v28) with test libraries, I am running into the following error:

Cannot synchronize the extension because no synchronized extension could be found to satisfy the dependency definition for Application Test Library by Microsoft 28.0.0.0.

When downloading the docker without the test toolkit, it works as expected (but I don't have test libraries etc.)

Command or script used to produce the issue

$artifactUrl = Get-BcArtifactUrl -type sandbox -select NextMajor -country w1 -accept_insiderEula
$credential = New-Object pscredential 'username', (ConvertTo-SecureString -String 'password' -AsPlainText -Force)
$licenseFile = "C:\Temp\BC_Development.bclicense"
New-BCContainer -accept_eula -accept_insiderEula -containerName W1NextMajor -updateHost -artifactUrl $artifactUrl -licenseFile $licenseFile -auth UserPassword -credential $credential -isolation hyperv -includeTestToolkit -includeTestLibrariesOnly

Full output of the command or script

Downloading Platform index to C:\Users<redacted>\AppData\Local\Temp\bcContainerHelper.platform.json
Downloading base index to C:\Users<redacted>\AppData\Local\Temp\bcContainerHelper.base.json
Downloading Platform index to C:\Users<redacted>\AppData\Local\Temp\bcContainerHelper.platform.json
Downloading w1 index to C:\Users<redacted>\AppData\Local\Temp\bcContainerHelper.w1.json
BcContainerHelper is version 6.1.6
BcContainerHelper is running as administrator
HyperV is Enabled
Host is Microsoft Windows 11 Enterprise - 10.0.26200.7462
UsePsSession is True
UsePwshForBc24 is True
UseWinRmSession is never
UseSslForWinRmSession is True
Docker Client Version is 29.1.2
Docker Server Version is 29.1.2
Removing Session W1NextMajor
Removing container W1NextMajor
Removing entries from hosts
Removing W1NextMajor from container hosts file
Removing W1NextMajor-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\W1NextMajor
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:ltsc2025
Creating Container W1NextMajor
Style: sandbox
Multitenant: Yes
Version: 28.0.43565.0
Platform: 28.0.43527.0
Generic Tag: 1.0.2.85
Container OS Version: 10.0.26100.7171 (ltsc2025)
Host OS Version: 10.0.26200.7462 (Unknown/Insider build)
Using hyperv isolation
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file C:\Temp\BC_Development.bclicense
Files in C:\ProgramData\BcContainerHelper\Extensions\W1NextMajor\my:

  • AdditionalOutput.ps1
  • HelperFunctions.ps1
  • license.bclicense
  • MainLoop.ps1
  • SetupVariables.ps1
  • updatehosts.ps1
    Creating container W1NextMajor from image mcr.microsoft.com/businesscentral:ltsc2025
    5a944cacf14dd987769adfeded630e0f9bd26f384b9df1054a77c39bb6bb557e
    Waiting for container W1NextMajor to be ready
    Using artifactUrl https://bcinsider-fvh2ekdjecfjd6gk.b02.azurefd.net/sandbox/28.0.43565.0/w1
    Using installer from C:\Run\270
    Installing Business Central: multitenant=True, installOnly=False, filesOnly=False, includeTestToolkit=False, includeTestLibrariesOnly=False, includeTestFrameworkOnly=False, includePerformanceToolkit=False, appArtifactPath=c:\dl\sandbox\28.0.43565.0\w1, platformArtifactPath=c:\dl\sandbox\28.0.43565.0\platform, databasePath=c:\dl\sandbox\28.0.43565.0\w1\BusinessCentral-W1.bak, licenseFilePath=c:\dl\sandbox\28.0.43565.0\w1\Cronus.bclicense, rebootContainer=True
    Installing from artifacts
    Starting Local SQL Server
    Starting Internet Information Server
    Copying Service Tier Files
    c:\dl\sandbox\28.0.43565.0\platform\ServiceTier\pfiles64
    c:\dl\sandbox\28.0.43565.0\platform\ServiceTier\System64
    Copying Web Client Files
    c:\dl\sandbox\28.0.43565.0\platform\WebClient\pfiles\Microsoft Dynamics NAV
    Copying ModernDev Files
    c:\dl\sandbox\28.0.43565.0\platform
    c:\dl\sandbox\28.0.43565.0\platform\ModernDev\pfiles\Microsoft Dynamics NAV
    Copying additional files
    Copying ConfigurationPackages
    C:\dl\sandbox\28.0.43565.0\platform\ConfigurationPackages
    Copying Test Assemblies
    C:\dl\sandbox\28.0.43565.0\platform\Test Assemblies
    Copying Extensions
    C:\dl\sandbox\28.0.43565.0\w1\Extensions
    Copying Applications
    C:\dl\sandbox\28.0.43565.0\platform\Applications
    Copying dependencies
    Importing PowerShell Modules
    Restoring CRONUS Demo Database
    Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
    Exporting Application to CRONUS
    Removing Application from tenant
    Modifying Business Central Service Tier Config File for Docker
    Creating Business Central Service Tier
    Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
    Starting Business Central Service Tier
    Importing license file
    Copying Database on localhost\SQLEXPRESS from tenant to default
    Taking database tenant offline
    Copying database files
    Attaching files as new Database default
    Putting database tenant back online
    Mounting tenant database
    Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
    Sync'ing Tenant
    Tenant is Operational
    Stopping Business Central Service Tier
    Installation took 186 seconds
    Installation complete
    Initializing...
    Setting host.docker.internal to 192.168.68.115 in container hosts file (copy from host hosts file)
    Setting gateway.docker.internal to 192.168.68.115 in container hosts file (copy from host hosts file)
    Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
    Setting host.containerhelper.internal to 172.19.224.1 in container hosts file
    Starting Container
    Hostname is W1NextMajor
    PublicDnsName is W1NextMajor
    WARNING: DNS resolution not working from within the container.
    Using NavUserPassword Authentication
    Creating Self Signed Certificate
    Self Signed Certificate Thumbprint DEA8FDC8D065B11A99D945CCDF3CE1B83DDBA98D
    DNS identity W1NextMajor
    Modifying Service Tier Config File with Instance Specific Settings
    Starting Service Tier
    Registering event sources
    Creating DotNetCore Web Server Instance
    Using application pool name: BC
    Using default container name: NavWebApplicationContainer
    Copy files to WWW root C:\inetpub\wwwroot\BC
    Create the application pool BC
    Create website: NavWebApplicationContainer without SSL
    Update configuration: navsettings.json
    Done Configuring Web Client
    Enabling Financials User Experience
    Using license file 'c:\run\my\license.bclicense'
    Import License
    Dismounting Tenant
    Mounting Tenant
    Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
    Sync'ing Tenant
    Tenant is Operational
    Creating http download site
    Setting SA Password and enabling SA
    Creating pc as SQL User and add to sysadmin
    WARNING: This license is not compatible with this version of Business Central.
    Creating SUPER user
    WARNING: The password that you entered does not meet the minimum requirements.
    It should be at least 8 characters long and contain at least one uppercase
    letter, one lowercase letter, and one number.
    WARNING: This license is not compatible with this version of Business Central.
    WARNING: This license is not compatible with this version of Business Central.
    Container IP Address: 172.19.228.0
    Container Hostname : W1NextMajor
    Container Dns Name : W1NextMajor
    Web Client : http://W1NextMajor/BC/?tenant=default
    Dev. Server : http://W1NextMajor
    Dev. ServerInstance : BC
    Dev. Server Tenant : default
    Setting W1NextMajor to 172.19.228.0 in host hosts file
    Setting W1NextMajor-default to 172.19.228.0 in host hosts file
    Setting W1NextMajor-default to 172.19.228.0 in container hosts file

Files:
http://W1NextMajor:8080/ALLanguage.vsix

Container Total Physical Memory is 8.5Gb
Container Free Physical Memory is 4.1Gb

Initialization took 81 seconds
Ready for connections!
Reading CustomSettings.config from W1NextMajor
Creating Desktop Shortcuts for W1NextMajor
Synchronizing Permissions Mock on default
App successfully synchronized
Installing Permissions Mock on default
App successfully installed
Synchronizing Test Runner on default
App successfully synchronized
Installing Test Runner on default
App successfully installed
Synchronizing Any on default
App successfully synchronized
Installing Any on default
App successfully installed
Synchronizing Library Assert on default
App successfully synchronized
Installing Library Assert on default
App successfully installed
Skipping app 'C:\Applications\TestFramework\TestLibraries\permissions mock\Microsoft_Permissions Mock.app' as it is already installed
Synchronizing Library Variable Storage on default
App successfully synchronized
Installing Library Variable Storage on default
App successfully installed
Publishing C:\ProgramData\BcContainerHelper\Extensions\W1NextMajor\d6beb375-ceb5-4e3a-a526-f6ae0586aef9\Microsoft_System Application Test Library.app
Synchronizing System Application Test Library on tenant default
Installing System Application Test Library on tenant default
App Microsoft_System Application Test Library.app successfully published
Synchronizing Business Foundation Test Libraries on default
App successfully synchronized
Installing Business Foundation Test Libraries on default
App successfully installed
Publishing C:\ProgramData\BcContainerHelper\Extensions\W1NextMajor\99c6d784-cd74-4841-9362-bbd41a76907e\Microsoft_Tests-TestLibraries.app
Synchronizing Tests-TestLibraries on tenant default
Cannot synchronize the extension because no synchronized extension could be found to satisfy the dependency definition for Application Test Library by Microsoft 28.0.0.0.

Container Free Physical Memory: 3.6Gb
Disk C: Free 120Gb from 127Gb

Services in container W1NextMajor:

  • MicrosoftDynamicsNavServer$BC is Running
  • MSSQL$SQLEXPRESS is Running
    Publish-BcContainerApp Telemetry Correlation Id: 2adeb0e7-f241-4fc8-ae27-2f689542d0e3
    Import-TestToolkitToBcContainer Telemetry Correlation Id: 8f3cf5c0-09bd-4d99-8122-ce0aefd007f4
    New-BCContainer Telemetry Correlation Id: fac2c044-730d-496b-a2f5-e3321b169d6e
    Exception: C:\Users<redacted>\OneDrive - DYSEL\Documenten\PowerShell\Modules\BcContainerHelper\6.1.6\ContainerHandling\Invoke-ScriptInNavContainer.ps1:307
    Line |
    307 | throw $errorMessage
    | ~~~~~~~~~~~~~~~~~~~
    | Cannot synchronize the extension because no synchronized extension could be found to satisfy the dependency
    | definition for Application Test Library by Microsoft 28.0.0.0.

Additional information

This is possibly similar to issue #4040

Does this happen every time?

Yes

Did this used to work?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions