microsoft / nav-arm-templates

ARM (Azure Resource Manager) templates for Microsoft Dynamics NAV
MIT License
54 stars 55 forks source link

Cannot find path 'C:\myfolder\SetupConfiguration.ps1' because it does not exist #121

Closed ChrisBlankDe closed 5 years ago

ChrisBlankDe commented 5 years ago

Got an Error about missing file.

1:44:35 PM at , C:\demo\setupVm.ps1: line 249
1:44:35 PM at , C:\demo\SetupNavContainer.ps1: line 20
1:44:35 PM Cannot find path 'C:\myfolder\SetupConfiguration.ps1' because it does not exist.
1:44:32 PM Installing OpenXML 2.5
1:44:28 PM Installing SQL Native Client
1:44:12 PM Installing Visual C++ Redist
1:44:10 PM Status: Downloaded newer image for mcr.microsoft.com/businesscentral/sandbox:14.0.29537.32452-de-ltsc2019
1:44:10 PM Digest: sha256:cbd9f4330e30db2a8dae734eb3d8f39b9731441483d2017d829df6d59aad1f5d
[...]
1:26:24 PM 14.0.29537.32452-de-ltsc2019: Pulling from businesscentral/sandbox
1:26:17 PM Pulling mcr.microsoft.com/businesscentral/sandbox:14.0.29537.32452-de-ltsc2019 (this might take ~30 minutes)
1:26:16 PM Adding Landing Page to Startup Group
1:26:16 PM Add Import navcontainerhelper to PowerShell profile
1:26:16 PM Disabling Server Manager Open At Logon
1:26:16 PM Show hidden files and file types
1:26:16 PM Enabling Font Download in IE
1:26:16 PM Enabling File Download in IE
1:26:15 PM Enabling Docker API
1:26:15 PM Starting docker
1:26:12 PM SetupVm, User: vmadmin
1:26:00 PM Launch SetupVm
1:25:41 PM Installing AzureAD PowerShell package
1:22:35 PM Installing AzureRM PowerShell package
1:22:30 PM SetupStart, User: ***$
1:20:10 PM Restarting computer and start Installation tasks
1:18:39 PM Using Lets Encrypt certificate
1:18:39 PM Using Nav Container Helper version 0.6.2.9
1:18:22 PM Installing Latest Nav Container Helper from PowerShell Gallery
1:18:22 PM Downloading C:\DEMO\Install-VS2017Community.ps1
1:18:22 PM Downloading c:\demo\SetupStart.ps1
1:18:22 PM Downloading c:\demo\SetupVm.ps1
1:18:22 PM Downloading c:\demo\SetupAAD.ps1
1:18:22 PM Downloading c:\demo\SetupNavContainer.ps1
1:18:22 PM Downloading c:\demo\SetupDesktop.ps1
1:18:22 PM Downloading c:\myfolder\SetupWebClient.ps1
1:18:21 PM Turning off IE Enhanced Security Configuration
1:18:21 PM Creating Connect.rdp
1:18:21 PM Downloading C:\inetpub\wwwroot\web.config
1:18:21 PM Downloading C:\inetpub\wwwroot\Microsoft.png
1:18:21 PM Downloading C:\inetpub\wwwroot\line.png
1:18:21 PM Downloading C:\inetpub\wwwroot\status.aspx
1:18:21 PM Downloading C:\inetpub\wwwroot\default.aspx
1:16:02 PM Installing Internet Information Server (this might take a few minutes)
1:15:40 PM TemplateLink: https://raw.githubusercontent.com/Microsoft/nav-arm-templates/master/getbcext.json
1:15:40 PM Initialize, user: ***$
1:15:40 PM Running Windows Server 2019 Datacenter
1:15:40 PM Starting initialization

Deployment Parameters:

 "parameters": {
      "vmName": {
        "type": "String",
        "value": "example"
      },
      "timezoneId": {
        "type": "String",
        "value": "W. Europe Standard Time"
      },
      "acceptEula": {
        "type": "String",
        "value": "Yes"
      },
      "remoteDesktopAccess": {
        "type": "String",
        "value": "*"
      },
      "winRMAccess": {
        "type": "String",
        "value": "-"
      },
      "operatingSystem": {
        "type": "String",
        "value": "Windows Server 2019 with Containers"
      },
      "vmSize": {
        "type": "String",
        "value": "Standard_D2_v3"
      },
      "storageAccountType": {
        "type": "String",
        "value": "Standard_LRS"
      },
      "vmAdminUsername": {
        "type": "String",
        "value": "vmadmin"
      },
      "bcAdminUsername": {
        "type": "String",
        "value": "admin"
      },
      "azureSqlAdminUsername": {
        "type": "String",
        "value": "sqladmin"
      },
      "adminPassword": {
        "type": "SecureString"
      },
      "includeAL": {
        "type": "String",
        "value": "No"
      },
      "bcDockerImage": {
        "type": "String",
        "value": "mcr.microsoft.com/businesscentral/sandbox:14.0.29537.32452-de"
      },
      "registryUsername": {
        "type": "String",
        "value": ""
      },
      "registryPassword": {
        "type": "SecureString"
      },
      "assignPremiumPlan": {
        "type": "String",
        "value": "No"
      },
      "createTestUsers": {
        "type": "String",
        "value": "No"
      },
      "licenseFileUri": {
        "type": "String",
        "value": ""
      },
      "sqlServerType": {
        "type": "String",
        "value": "SQLExpress"
      },
      "appBacpacUri": {
        "type": "String",
        "value": "https://example.blob.core.windows.net/public2/v14/***"
      },
      "tenantBacpacUri": {
        "type": "String",
        "value": "https://example.blob.core.windows.net/public2/v14/***"
      },
      "includeAppUris": {
        "type": "String",
        "value": ""
      },
      "enableTaskScheduler": {
        "type": "String",
        "value": "Yes"
      },
      "multitenant": {
        "type": "String",
        "value": "Yes"
      },
      "office365UserName": {
        "type": "String",
        "value": ""
      },
      "office365Password": {
        "type": "SecureString"
      },
      "createAadUsers": {
        "type": "String",
        "value": "No"
      },
      "certificatePfxUrl": {
        "type": "String",
        "value": ""
      },
      "certificatePfxPassword": {
        "type": "SecureString"
      },
      "publicDnsName": {
        "type": "String",
        "value": ""
      },
      "finalSetupScriptUrl": {
        "type": "String",
        "value": ""
      },
      "bingMapsKey": {
        "type": "String",
        "value": ""
      },
      "requestToken": {
        "type": "String",
        "value": ""
      },
      "createStorageQueue": {
        "type": "String",
        "value": "No"
      },
      "runWindowsUpdate": {
        "type": "String",
        "value": "No"
      },
      "contactEMailForLetsEncrypt": {
        "type": "String",
        "value": "***@example.com"
      },
      "autoShutdown": {
        "type": "String",
        "value": "Enabled"
      },
      "autoShutdownTime": {
        "type": "String",
        "value": "20:00"
      },
      "addTraefik": {
        "type": "String",
        "value": "No"
      }
    }

As I see you updated this code yesterday: fix

freddydk commented 5 years ago

Sorry - the fix for this was only on my machine:-( Try again