I have an include file to remove the annoying Commerce License Warning on 8.1 update 3. But the patch file fails to load in. The log files show the following error:
"860 10:07:58 ERROR Could not load configuration file: [file location]: System.Exception: Reader is in incorrect state"
This is the patch file:
<?xml version="1.0"?> <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/"> <!-- Fixes: Missing Sitecore.Commerce.Connect licenses message in Content Editor - kb article 852031 Link: https://kb.sitecore.net/articles/852031 If you do not have keys for the Sitecore.Commerce.Connect or Sitecore.Commerce.ConnectPartner modules in your license file, the following message may be displayed above the "Quick info" section when opening the Content Editor: You require one of the following licenses to use the Sitecore Commerce Connect module. "Sitecore.Commerce.Connect" or "Sitecore.Commerce.ConnectPartner" These license keys are not included by default. --> <sitecore> <pipelines> <getContentEditorWarnings> <processor type="Sitecore.Commerce.Pipelines.ContentEditorLicenseWarning, Sitecore.Commerce"> <patch:delete /> </processor> </getContentEditorWarnings> </pipelines> </sitecore> </configuration>
A more annoying aspect is that on my local dev environment this patch files works fine. But when deployed it does not!