Sitecore Bug on content delivery server regarding ReportDataProvider

Issue

We deployed sitecore website with two content delivery server with load balance on azure environment and followed instructions for Content delivery server as mentioned here, We are facing an error for images “Unable to cast object of type ‘System.String’ to type ‘Sitecore.Analytics.Reporting.ReportDataProviderBase’.”

Reason

This is because of known bug which is not resolved upto “8.1 rev. 151207 (Update-1)” and might be resolved in upcoming versions informed by sitecore support team.

Solution

The below section in the config needs to be commented out to stop this error from occurring/fix.

<reporting>
  <dataProvider>
	<datasources>
	  <add key="item">
		<FiltersFactory>
		  <param desc="definitionDatabaseName">web</param>
		</FiltersFactory>
	  </add>
	  <add key="collection">
		<FiltersFactory>
		  <param desc="definitionDatabaseName">web</param>
		</FiltersFactory>
	  </add>
	  <add key="reporting">
		<FiltersFactory>
		  <param desc="definitionDatabaseName">web</param>
		</FiltersFactory>
	  </add>
	</datasources>
  </dataProvider>
</reporting>

Leave a Reply

Your email address will not be published. Required fields are marked *

rfwbs-slide