09-28-2017 01:21 PM - edited 03-08-2019 07:25 PM
After working with Cisco support to get a custom Cisco Email Reporting plug-in v1.0.1.48 working I notice that I cannot open the Additional Options from the plug-in's options panel. It generates the following error:
An error has occurred.
If you've seen this message more than once please launch Diagnostic tool............
This does not happen if the plug-in is setup from the original .exe file with no customizations. Can someone let me know what changed to cause this by looking at the custom xml?
Here is my CommonComponentConfig.xml
<?xml version="1.0" encoding="utf-8"?>
<CommonComponentsConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<lockUIOptions>false</lockUIOptions>
<diagnosticSupportAddress display="hidden">ironport.plugin@gmail.com</diagnosticSupportAddress>
<diagnosticReportSubject display="hidden">Cisco Email Reporting plug-in diagnostic report</diagnosticReportSubject>
<localizationFile>en.xml</localizationFile>
<showPluginOptions>true</showPluginOptions>
<isReportingPluginEnabled>true</isReportingPluginEnabled>
<loggingXml>
<logging>
<enabled>true</enabled>
<traceRedirection name="System.Diagnostics.Redirection">True</traceRedirection>
<log4net>
<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
<appendToFile value="true" />
<rollingStyle value="Size" />
<maximumFileSize value="5MB" />
<maxSizeRollBackups value="2" />
<encoding value="utf-8" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d{MM/dd/yyyy hh:mm:ss tt zz} %5p [%-40.40c{3}] %M: %m%n" />
</layout>
</appender>
<root>
<level value="WARN" />
<appender-ref ref="RollingFile" />
</root>
</log4net>
</logging>
</loggingXml>
<checkForUpdates>
<checkAutomatically display="hidden">false</checkAutomatically>
<ignoredVersion />
<serverURL />
</checkForUpdates>
<accountFileNames>
<accountFileName filePath="config_1.xml" emailAddress="*" />
</accountFileNames>
<callHome>
<callHomeUrl />
<callHomeAdminEnabled>false</callHomeAdminEnabled>
<callHomeEnabled>false</callHomeEnabled>
<lastSendDate>9/27/2017</lastSendDate>
<lastSendPluginVersion>1.0.1.48</lastSendPluginVersion>
</callHome>
</CommonComponentsConfiguration>
Solved! Go to Solution.
09-29-2017 09:09 AM - edited 09-29-2017 09:10 AM
Upon some trial and error of comparing an original CommonComponentsConfig.xml file to my customized one I have found the issue. I changed the line in bold to get the Additional options to open up normally without error.
So now if anyone wants to remove the "Send anonymous usage data to Cisco to help us improve the Cisco Email Security Plug-in?"popup in Outlook using the Cisco Email Reporting Plug-in please copy the following CommonComponentsConfig.xml to your UseCustomConfig=\\share\Common folder along with a config_1.xml and it should work!
here is my new CommonComponentsConfig.xml:
<?xml version="1.0" encoding="utf-8"?>
<CommonComponentsConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<lockUIOptions>false</lockUIOptions>
<IsPluginEnabled>true</IsPluginEnabled>
<diagnosticSupportAddress display="hidden">ironport.plugin@gmail.com</diagnosticSupportAddress>
<diagnosticReportSubject display="hidden">Cisco Email Reporting plug-in diagnostic report</diagnosticReportSubject>
<localizationFile>en.xml</localizationFile>
<showPluginOptions>true</showPluginOptions>
<loggingXml>
<logging>
<enabled>true</enabled>
<traceRedirection name="System.Diagnostics.Redirection">True</traceRedirection>
<log4net>
<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
<file value="${USERCONFIGDIR}\CiscoEmailReporting.log" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maximumFileSize value="5MB" />
<maxSizeRollBackups value="2" />
<encoding value="utf-8" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d{MM/dd/yyyy hh:mm:ss tt zz} %5p [%-40.40c{3}] %M: %m%n" />
</layout>
</appender>
<root>
<level value="WARN" />
<appender-ref ref="RollingFile" />
</root>
</log4net>
</logging>
</loggingXml>
<checkForUpdates>
<checkAutomatically display="hidden">false</checkAutomatically>
<ignoredVersion />
<serverURL />
</checkForUpdates>
<accountFileNames>
<accountFileName filePath="config_1.xml" emailAddress="*" />
</accountFileNames>
<callHome>
<callHomeUrl />
<callHomeAdminEnabled>false</callHomeAdminEnabled>
<callHomeEnabled>false</callHomeEnabled>
<lastSendDate>9/27/2017</lastSendDate>
<lastSendPluginVersion>1.0.1.48</lastSendPluginVersion>
</callHome>
</CommonComponentsConfiguration>
09-29-2017 09:09 AM - edited 09-29-2017 09:10 AM
Upon some trial and error of comparing an original CommonComponentsConfig.xml file to my customized one I have found the issue. I changed the line in bold to get the Additional options to open up normally without error.
So now if anyone wants to remove the "Send anonymous usage data to Cisco to help us improve the Cisco Email Security Plug-in?"popup in Outlook using the Cisco Email Reporting Plug-in please copy the following CommonComponentsConfig.xml to your UseCustomConfig=\\share\Common folder along with a config_1.xml and it should work!
here is my new CommonComponentsConfig.xml:
<?xml version="1.0" encoding="utf-8"?>
<CommonComponentsConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<lockUIOptions>false</lockUIOptions>
<IsPluginEnabled>true</IsPluginEnabled>
<diagnosticSupportAddress display="hidden">ironport.plugin@gmail.com</diagnosticSupportAddress>
<diagnosticReportSubject display="hidden">Cisco Email Reporting plug-in diagnostic report</diagnosticReportSubject>
<localizationFile>en.xml</localizationFile>
<showPluginOptions>true</showPluginOptions>
<loggingXml>
<logging>
<enabled>true</enabled>
<traceRedirection name="System.Diagnostics.Redirection">True</traceRedirection>
<log4net>
<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
<file value="${USERCONFIGDIR}\CiscoEmailReporting.log" />
<appendToFile value="true" />
<rollingStyle value="Size" />
<maximumFileSize value="5MB" />
<maxSizeRollBackups value="2" />
<encoding value="utf-8" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d{MM/dd/yyyy hh:mm:ss tt zz} %5p [%-40.40c{3}] %M: %m%n" />
</layout>
</appender>
<root>
<level value="WARN" />
<appender-ref ref="RollingFile" />
</root>
</log4net>
</logging>
</loggingXml>
<checkForUpdates>
<checkAutomatically display="hidden">false</checkAutomatically>
<ignoredVersion />
<serverURL />
</checkForUpdates>
<accountFileNames>
<accountFileName filePath="config_1.xml" emailAddress="*" />
</accountFileNames>
<callHome>
<callHomeUrl />
<callHomeAdminEnabled>false</callHomeAdminEnabled>
<callHomeEnabled>false</callHomeEnabled>
<lastSendDate>9/27/2017</lastSendDate>
<lastSendPluginVersion>1.0.1.48</lastSendPluginVersion>
</callHome>
</CommonComponentsConfiguration>
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide