-
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
Sitecore 8.0 Session is not Initialized Exception
Coveo for Sitecore 4.1 (pre-July 2018)
Symptoms
In Sitecore 8.0, you get an unhandled exception when calling one of the following four pages:
-
https://<INSTANCE_HOSTNAME>/sitecore%20modules/Web/Coveo/OAuth/AuthorizationLinkCallback.aspx
-
https://<INSTANCE_HOSTNAME>/sitecore%20modules/Web/Coveo/CoveoDiagnosticPackage.aspx
-
https://<INSTANCE_HOSTNAME>/sitecore%20modules/Web/Coveo/Admin/CoveoDiagnosticPage.aspx
-
https://<INSTANCE_HOSTNAME>/sitecore%20modules/Web/Coveo/Admin/SwitchToExpandedPermissions.aspx
The Exception Details state System.InvalidOperationException: session is not initialized
.
Cause
A tag to prevent these pages from logging entries in xDB isn’t recognized.
Resolution
There are two solutions. You can edit the four files which contain the unrecognized tag or upgrade Coveo for Sitecore.
Removing the Unrecognized Tag from the Files
-
Open all four files in a text editor and remove the
EnableSessionState="false"
tag.For example, in the
<SITECORE_INSTANCE_ROOT>\Website\sitecore modules\Web\Coveo\OAuth\AuthorizationLinkCallback.aspx
file, locate the following line:<%@ Language="C#" Inherits="Coveo.SearchProvider.Applications.OAuth.AuthorizationLinkCallback" CodeBehind="AuthorizationLinkCallback.aspx.cs" EnableSessionState="false" AutoEventWireup="True" %>
-
Edit the line so it reads:
<%@ Language="C#" Inherits="Coveo.SearchProvider.Applications.OAuth.AuthorizationLinkCallback" CodeBehind="AuthorizationLinkCallback.aspx.cs" AutoEventWireup="True" %>
-
Save your changes.
Upgrading Coveo for Sitecore
As of the July 2018 version of Coveo for Sitecore 4.1, the issue is fixed.