Navcontainerhelper: 'vmcompute.dll' error when creating container from ISE but not from PS

Created on 4 Mar 2019  路  3Comments  路  Source: microsoft/navcontainerhelper

Hi, I am experiencing this bug on a new Notebook .
navcontainerhelper is v 5.0.4.0 and I am running the following commands on the ISE and on Powershell CLI

New-NavContainer cs-test -accept_eula -includeCSide -doNotExportObjectsToText -includeTestToolkit -licenseFile 'C:\Users\user\Documents\company_BC_onprem_dev.flf' -imageName 'mcr.microsoft.com/businesscentral/onprem:de-ltsc2019' -useSSL -auth NavUserPassword -enableSymbolLoading

When I run this command on the ISE, I get this;

ise-error

When I run it in PS-CLI, I do not see this error:

ps-noerror

I know it has something to do with a New-PSSession inside the Get-NavContainerSession.ps1 but I do not understand what might be the difference between running it in ISE vs. running it in CLI.

Do you have any ideas?

Best regards,
Chris

Fix Ready Ships in a future version

Most helpful comment

Nice job on finding out that this is caused by x86 in less than 2 hours - I think I have spend way more time on the vmcompute issue earlier:-)
I will try to add a check to NavContainerHelper that it is running x64

All 3 comments

Short update:

At least I figured out that I just cannot use New-PSSession or Enter-PSSession with -ContainerID at all from the ISE.
It will then throw this "'vmcompute.dll' not found error". But I can use the same commands from CLI without any problems. As a workaround I will just use our container starting script from the CLI, but i still do not understand why it is not working from ISE.

:/

Ok, this Issue is closed. The Problem was, that I tried using the ISE (x86) Version which resulted in this error. That was also the reason why it worked in the CLI (x64). After switching to ISE (x64) it works without a problem

:)

Nice job on finding out that this is caused by x86 in less than 2 hours - I think I have spend way more time on the vmcompute issue earlier:-)
I will try to add a check to NavContainerHelper that it is running x64

Was this page helpful?
0 / 5 - 0 ratings