We have four environments: Testing, Staging, Single Instance (production) and Disaster Recovery.
I have created a config transform file for each environment as I need to update a web service reference for each environment. Two problems have transpired:
-
All transforms seem to be accessed for each environment. I’d expect to see only web.testing.config access in the Testing deployment, but the logs show all the configs accessed on each envirnment. Is this correct?
-
Despite the transform files being accessed and noted in the logs, none of the actual transformations are being applied. It always states “No matching appSetting, applicationSetting, nor connectionString names were found” for each transform file.
One of the transforms files:
<?xml version="1.0" encoding="utf-8"?>Snippet of part of the web.config to be transformed:
<?xml version="1.0" encoding="utf-8"?> ... ...Output of the first environment named Testing:
Updating appSettings, applicationSettings, and connectionStrings in: E:\Octopus Tentacle\Applications\Testing\IdealPortalWebV2\2020.10.29.133331\bin\CAPSMain.dll.config
October 29th 2020 13:33:47
Info
No matching appSetting, applicationSetting, nor connectionString names were found in: E:\Octopus Tentacle\Applications\Testing\IdealPortalWebV2\2020.10.29.133331\bin\FrontierData.dll.config
October 29th 2020 13:33:47
Info
No matching appSetting, applicationSetting, nor connectionString names were found in: E:\Octopus Tentacle\Applications\Testing\IdealPortalWebV2\2020.10.29.133331\bin\FrontierDataWarehouseGenAccess.dll.config
October 29th 2020 13:33:47
Info
No matching appSetting, applicationSetting, nor connectionString names were found in: E:\Octopus Tentacle\Applications\Testing\IdealPortalWebV2\2020.10.29.133331\bin\PrepaidGenAccess.dll.config
October 29th 2020 13:33:47
Info
No matching appSetting, applicationSetting, nor connectionString names were found in: E:\Octopus Tentacle\Applications\Testing\IdealPortalWebV2\2020.10.29.133331\bin\ProcessorSettingsServicePlugIn.dll.config
October 29th 2020 13:33:47
Info
No matching appSetting, applicationSetting, nor connectionString names were found in: E:\Octopus Tentacle\Applications\Testing\IdealPortalWebV2\2020.10.29.133331\bin\Web.Disaster Recovery.config
October 29th 2020 13:33:47
Info
No matching appSetting, applicationSetting, nor connectionString names were found in: E:\Octopus Tentacle\Applications\Testing\IdealPortalWebV2\2020.10.29.133331\bin\Web.Single Instance.config
October 29th 2020 13:33:47
Info
No matching appSetting, applicationSetting, nor connectionString names were found in: E:\Octopus Tentacle\Applications\Testing\IdealPortalWebV2\2020.10.29.133331\bin\Web.Staging.config
October 29th 2020 13:33:47
Info
No matching appSetting, applicationSetting, nor connectionString names were found in: E:\Octopus Tentacle\Applications\Testing\IdealPortalWebV2\2020.10.29.133331\bin\Web.Testing.config
October 29th 2020 13:33:47
Info
No matching appSetting, applicationSetting, nor connectionString names were found in: E:\Octopus Tentacle\Applications\Testing\IdealPortalWebV2\2020.10.29.133331\bin\roslyn\csc.exe.config
October 29th 2020 13:33:47
Info
No matching appSetting, applicationSetting, nor connectionString names were found in: E:\Octopus Tentacle\Applications\Testing\IdealPortalWebV2\2020.10.29.133331\bin\roslyn\vbc.exe.config
October 29th 2020 13:33:47
Info
No matching appSetting, applicationSetting, nor connectionString names were found in: E:\Octopus Tentacle\Applications\Testing\IdealPortalWebV2\2020.10.29.133331\bin\roslyn\VBCSCompiler.exe.config
October 29th 2020 13:33:49
Info
Making sure a Web Application “IdealPortal” is configured as a child of “Default Web Site” at “E:\Octopus Tentacle\Applications\Testing\IdealPortalWebV2\2020.10.29.133331”…
October 29th 2020 13:33:50
Info
Application pool “IdealPortal2” already exists
October 29th 2020 13:33:50
Info
Set application pool identity: ApplicationPoolIdentity
October 29th 2020 13:33:51
Info
Set .NET framework version: v4.0
October 29th 2020 13:33:52
Info
Web Application “IdealPortal” already exists, no need to create it.
October 29th 2020 13:33:52
Info
Setting physical path of IIS:\Sites\Default Web Site\IdealPortal to E:\Octopus Tentacle\Applications\Testing\IdealPortalWebV2\2020.10.29.133331
October 29th 2020 13:33:52
Info
Assigning “IIS:\Sites\Default Web Site\IdealPortal” to application pool “IdealPortal2”…
October 29th 2020 13:33:54
Info
IIS configuration complete