Deploying Websites step fails with the following error: Please make sure that the file 'SiteConfiguration.xml' exists in the root of the execution directory

Follow

There are times in which a file lock prevents the Installer from copying and accessing files that it needs as manifested with the following error.

2014-06-05 11:06:52,323 WARN  [7] Apprenda.SaaSGrid.Deployment.EventLogger-Configuring IIS - An error occurred while cleaning up the temporary directory C:\ApprendaPlatform\BootstrapIIS. Access to the path 'antlr.runtime.dll' is denied.
2014-06-05 11:07:16,702 ERROR [15] Apprenda.SaaSGrid.Deployment.EventLogger-Configuring IIS - Program - An unexpected error occurred while bootstrapping the websites on APPRENDA-01: The type initializer for 'InstanceHolder' threw an exception.
=== Surface Exception ===
Type: System.TypeInitializationException
Message: The type initializer for 'InstanceHolder' threw an exception.
   at WebsiteCreationTool.SiteConfiguration.get_Current()
   at WebsiteCreationTool.Program.Main(String[] args)


=== End Surface Exception ===

=== Deepest Exception ===
Type: System.ApplicationException
Message: Unable to run the tool because no configuration file was found after 30 seconds. Please make sure that the file 'SiteConfiguration.xml' exists in the root of the execution directory.
   at WebsiteCreationTool.SiteConfiguration.InstanceHolder.LoadInstance()
   at WebsiteCreationTool.SiteConfiguration.InstanceHolder..cctor()


=== End Deepest Exception ===

Have more questions? Submit a request

Comments

  • Avatar
    Erik Lustgarten

    In order to get around this issue, simply restart the Installer to clear up any file locks that exist in the system.

  • Avatar
    Peter Drosos

    Yes, restarting the installer cleared up the file locks.