"The specified environment variables configuration file does not exist. '<path>\EnvironmentVariables.xml'" error when deploying an Alchemy Compatibility Package

Save to PDF

Applies to: Alchemy

14/10/2022 Cliff Hobbs   ID: 599395

Resolution

To fix this issue, make sure the EnvironmentVariables.xml file is present in the root folder of the Cloudhouse Alchemy Compatibility Package.

If you still encounter problems, please contact your Cloudhouse Partner in the first instance (if relevant), otherwise contact Cloudhouse Support for further assistance.

Symptoms

When deploying a Compatibility Package, I receive the following error:

ERROR Cloudhouse.Container.Deployment.Program - Failed:

Cloudhouse.Container.Core.Exceptions.ConfigurationFileNotFoundException: The specified environment variables configuration file does not exist. '<path>\EnvironmentVariables.xml'

   at Cloudhouse.Container.Core.ContainerVariables.EnvironmentVariablesFile..ctor(String filePath)

   at Cloudhouse.Container.Core.PackageDirectory.EnvironmentVariablesFile()

   at Cloudhouse.Container.Core.PackageDirectory.Validate()

   at Cloudhouse.Container.Core.PackageDirectory.get_SourcePackage()

   at Cloudhouse.Container.Deployment.DeploymentCommandFactory.Deploy()

   at Cloudhouse.Container.Deployment.Program.Main(String[] args)

ERROR Cloudhouse.Container.Deployment.Program - Exiting with code: -5

Cause

This error is caused if the EnvironmentVariables.xml file is not present in the root folder of the Cloudhouse Alchemy Compatibility Package.

Source:
Was this article helpful?

Table of Contents

    Can't find what you're looking for?

    Contact Support