Closed dimitri-ak closed 6 years ago
The CacheManager element exists only in Web.config, not in ApplicationHost.config. Since the IIS Manager translates to ApplicationHost.config, the error that the element is not found is correct.
When converting to Web.config, please use it at the time of build using MSBuild side function.
I have the following structure of web.config I want to change cacheManager section. I created .xdt file with the following
After restarting web app in the transformation logs I see: Start 'IISManager' site extension transform No element in the source document matches '/configuration/cacheManager' Not executing Replace Successful 'D:\home\SiteExtensions\IISManager\applicationHost.xdt' site extension transform Start 'site' site extension transform No element in the source document matches '/configuration/cacheManager' Not executing Replace Successful 'D:\home\site\applicationHost.xdt' site extension transform sandboxproc.exe complete successfully.
What am I doing wrong? Or with this extension I can't change this particular section, only basic ones...
Thanks.