Skip to content

[Bug]: cloudDevEnv.ps1 - Unable to locate the server instance: MicrosoftDynamicsNavServer$BC #1767

Open
@louagej

Description

@louagej

AL-Go version

preview

Describe the issue

When running the cloudDevEnv.ps1 script, I receive this error:

Error: Unable to locate the server instance: MicrosoftDynamicsNavServer$BC

Expected behavior

I expect the script to find my server instance

Steps to reproduce

  1. Run cloudDevEnv.ps1 in VSCode
  2. Select Reuse existing environment (not the default option)
  3. Wait until after Container is creatd (Creating Container took 107 seconds)

Additional context (logs, screenshots, etc.)

Ready for connections!
Reading CustomSettings.config from bcServerFilesOnly
Cleanup old dotnet core assemblies

Creating Container took 107 seconds
Unable to locate the server instance: MicrosoftDynamicsNavServer$BC

Container Free Physical Memory: 9.7Gb
Disk C: Free 124Gb from 127Gb

Services in container bcServerFilesOnly:
Publish-BcContainerApp Telemetry Correlation Id: db884766-95a4-4467-ae47-c6cd2ce015d6
Removing container
Removing Session bcServerFilesOnly
Removing container bcServerFilesOnly
Removing entries from hosts
Removing bcServerFilesOnly from container hosts file
Removing bcServerFilesOnly-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\bcServerFilesOnly
Run-AlPipeline Telemetry Correlation Id: ef192ab9-7e9d-413f-a3b5-873f9c1ff5d7
Error: Unable to locate the server instance: MicrosoftDynamicsNavServer$BC
Stacktrace: at Invoke-ScriptInBcContainer, C:\ProgramData\BcContainerHelper\6.1.7-preview1335\BcContainerHelper\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 307
at Get-BcContainerAppInfo, C:\ProgramData\BcContainerHelper\6.1.7-preview1335\BcContainerHelper\AppHandling\Get-NavContainerAppInfo.ps1: line 76
at Publish-BcContainerApp, C:\ProgramData\BcContainerHelper\6.1.7-preview1335\BcContainerHelper\AppHandling\Publish-NavContainerApp.ps1: line 131
at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.1.7-preview1335\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1188
at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.1.7-preview1335\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1463
at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.1.7-preview1335\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1389
at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.1.7-preview1335\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1281
at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.1.7-preview1335\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1266
at CreateDevEnv, C:\Users\Job.Louage\AppData\Local\Temp\e01359bb-0385-4397-961c-cb42c061ae5e\AL-Go-Helper.ps1: line 2053
at <ScriptBlock>, C:\Users\Job.Louage\AL\9altitudes\PTE-BC-9altitudes\.AL-Go\cloudDevEnv.ps1: line 86
at <ScriptBlock>, <No file>: line 1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions