Why do I see the error "System.IO.IOException: Usage location: "c:\vlcusage" does not exist"

Save to PDF

Applies to: Cloudhouse Compatibility Containers

25/06/2019 Cliff Hobbs   ID: 399476

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.

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.


Source:
Was this article helpful?

Table of Contents

    Can't find what you're looking for?

    Contact Support