In the past week Structured Configuration Variables have stopped working on Web.config XML files. I have been unable to find anything in the Octopus Audit trail or my commit log which could have caused this.
Thanks for your help in advance.
Here is the relevant section from the deployment log:
The file at C:\Octopus\Applications\FreeOnlineSurveys\Staging\Shout.FreeSurvey.Mvc\414\Web.config does not match any known filename patterns. The file will be tried as multiple formats and will be treated as the first format that can be successfully parsed.
February 15th 2022 10:53:04
Verbose
The registered replacers we will try, in order, are: JsonFormatVariableReplacer,PropertiesFormatVariableReplacer,YamlFormatVariableReplacer,XmlFormatVariableReplacer
February 15th 2022 10:53:04
Verbose
Attempting structured variable replacement on file C:\Octopus\Applications\FreeOnlineSurveys\Staging\Shout.FreeSurvey.Mvc\414\Web.config with format Json
February 15th 2022 10:53:04
Verbose
The file at C:\Octopus\Applications\FreeOnlineSurveys\Staging\Shout.FreeSurvey.Mvc\414\Web.config couldn’t be parsed as Json: Unexpected character encountered while parsing value: <. Path ‘’, line 0, position 0.
February 15th 2022 10:53:04
Verbose
Attempting structured variable replacement on file C:\Octopus\Applications\FreeOnlineSurveys\Staging\Shout.FreeSurvey.Mvc\414\Web.config with format Properties
February 15th 2022 10:53:04
Info
No structures have been found that match variable names, so no structured variable replacements have been applied.
February 15th 2022 10:53:04
Info
Structured variable replacement succeeded on file C:\Octopus\Applications\FreeOnlineSurveys\Staging\Shout.FreeSurvey.Mvc\414\Web.config with format Properties