Error "System.IO.IOException: Usage location: "c:\vlcusage" does not exist"

Save to PDF

Applies to: Cloudhouse Compatibility Containers

12/04/2022 Cliff Hobbs   ID: 399476

Resolution

If you are going to use the /UsageLocation switch, make sure the folder specified exists BEFORE deploying the Container; otherwise, you will see this error.

Deploying a Container will not automatically create the usage folder.

Symptoms

I am trying to deploy a Container using the command:

Cloudhouse.Container.Deployment.exe /deploydir c:\VLCContainer /accepteula /UsageLocation c:\vlcusage

However, the Container fails to deploy, and if I look in the DeploymentWorkflowLog.txt log I see the following:

INFO  Cloudhouse.Container.Deployment.Program - Tool version 4.6.1906.1328
ERROR Cloudhouse.Container.Deployment.Program - Failed: 
System.IO.IOException: Usage location: "c:\vlcusage" does not exist
   at Cloudhouse.Container.Core.Steps.AssertUsageLocationValid.Execute(DeploymentTarget deploymentTarget)
   at Cloudhouse.Container.Core.DeploymentWorkflow.Run(DeploymentTarget deploymentTarget)
   at Cloudhouse.Container.Deployment.Program.Main(String[] args)
ERROR Cloudhouse.Container.Deployment.Program - Exiting with code: -1

Cause

The folder specified for the /UsageLocation switch (c:\vlcusage in our example), does not exist.

Source:
Was this article helpful?

Table of Contents

    Can't find what you're looking for?

    Contact Support