-
Most Common Issues
- Inactivity Timeout During Rebuild
- Coveo Sort Components Are Stacked in an MVC Search Page
- Security Provider Error Something Went Wrong on the Server
- Problem Accessing the Coveo Admin Service
- Problem Loading the Ninject Assembly
- Empty Strings are not Allowed Exception Occurring When Specifying Creator-Owner Permissions
- Internal Server Error When Querying the REST Service
- Editing the Properties of a Coveo Search MVC Component Freezes the Page Editor in IE11
- Error with ID NO\_DOCUMENT\_INDEXED
- Error or Document Not Found Page After Rebuilding the Indexes
- Problem Registering Search Page Events in Sitecore Analytics Database
- Sitecore Items Do Not Get Automatically Indexed
- Sitecore 8.0 Session is not Initialized Exception
- The Indexing Manager Is Reporting an Error
- Configuration Wizard error - Unable to add the certificate to the Root store. Access is denied.
- Slow Queries in a Coveo-Powered Search Page
- Issue in IE During Admin Service Configuration with the Configuration Wizard
- High Memory Usage While Rebuilding Indexes
- Root Element of a Crawler for a Coveo Index is Invalid
- 404 Errors on Coveo Usage Analytics Search Events
- HTML Version of Indexed Items Are Showing an Error Page
- Coveo-Powered Search Page Fails to Load After Upgrade
- Diagnostic Page Error - Invalid cast from System.String to Coveo.Framework.Configuration.SecurityConfiguration
- Including a Search Box with OmniboxResultList Results in Cannot read property addEventListener of null Error
- Timeout While Expanding Sitecore Security Provider
- NullReferenceException on Tracking.Current When Executing a Request for a Quick View
- Coveo for Sitecore Security Cache Refresh Issues
- How to Modify the Coveo for Sitecore Security Provider Refreshing Parameters
- 403 Forbidden Error When Calling YourSitecoreSite/coveo/rest
- Getting log4net Errors When Attempting to Browse Sitecore Pages
- The Sitecore Security Provider ABC has encountered a fatal exception class CSP FatalException Unable to connect to Sitecore
- No User has been Provided for the Search Request
- Opening Sitecore Indexing Manager Returns a 405 (Method Not Allowed) Error
- Secured Admin Service - Could Not Establish Trust Relationship for the SSL/TLS Secure Channel with Authority Localhost
- Hive Components - Inserting an Example Search Page Results in No Renderings
Diagnostic Page Error - Invalid cast from System.String to Coveo.Framework.Configuration.SecurityConfiguration
Coveo for Sitecore (October 2016)
Coveo for Sitecore (December 2016)
Symptoms
On a Sitecore instance where the SwitchMasterToWeb.Coveo.config
file is activated, you get the following error in the Coveo for Sitecore security provider information section of the Coveo Diagnostic Page:
This section is disabled because an unexpected error occurred (Invalid cast from 'System.String' to 'Coveo.Framework.Configuration.SecurityConfiguration'.). Resolve this error and hit the Refresh button to re-enable this section.
Cause
This error is due to the securityConfiguration
node in the SwitchMasterToWeb.Coveo.config
file. Sitecore expects this node to have a type, but because it doesn’t, the indexing manager fails to load.
Resolution
The issue is fixed by adding a securityConfiguration
node of the right type in one of your configuration files.
-
Open the
Coveo.SearchProvider.config
file. It’s usually located under<SITECORE_INSTANCE_ROOT>\Website\App_Config\Include\Coveo
.While you’re usually discouraged from modifying the
Coveo.SearchProvider.config
file, for this procedure, to reduce the risk of unforeseen upgrade bugs, you’re encouraged to modify theCoveo.SearchProvider.config
file over theCoveo.SearchProvider.Custom.config
file. -
In the
defaultIndexConfiguration
node, after the</adminServiceConfiguration>
line, before<!-- Coveo Query configuration -->
, add the following:<!-- Coveo security configuration --> <securityConfiguration type="Coveo.Framework.Configuration.SecurityConfiguration, Coveo.Framework" />
-
Save and close the file.