Skip to content

Alchemy Public

Overview 1 min read View Markdown

Error: System.IO.IOException#

Problem: When trying to deploy a Container using the following command:

Applies to: Alchemy

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

The Container fails to deploy, and the following error is displayed in the DeploymentWorkflowLog.txt:

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 the above example), does not exist.

Solution: 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."