Error after install: 'A syntax error occurred trying to evaluate a query string'
I'm installing Coveo for Sitecore for the first time.
I've followed the steps, and am looking to do a full index rebuild, however I'm noticing an exception, which I also get when trying to access the Diagnostics page.
Here's the exception:-
[FaultException`1: A syntax error occurred trying to evaluate a query string (Exception from HRESULT: 0x80040203)] System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +14579646 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +622 Coveo.AdminService.AdminService.IAdminService.PerformFirstTimeSetup(CesMasterInformation p_Info) +0 Coveo.AdminService.AdminServiceClientWrapper.PerformAdminServiceCall(Action p_Action) +187 Coveo.AdminService.AdminServiceClientWrapper.PerformFirstTimeSetup() +95 Coveo.AbstractLayer.Communication.CES.AdminModule.InitializeCes() +200 Coveo.AbstractLayer.Communication.CES.CESCommunication.InitializeCes() +90 Coveo.SearchProvider.ProviderIndexBase.Initialize(IIndexDocumentPropertyMapper`1 p_DocumentTypeMapper) +2161 Coveo.SearchProvider.ProviderIndex.Initialize() +282 Coveo.SearchProvider.Configuration.CoveoSearchConfiguration.AddIndex(ISearchIndex p_Index) +268
I noticed that the installation didn't create the C:\CES7 folder like it said it would…
I've since created it myself, but am still getting the same error.
I've checked that all services are running, and confirmed everything mentioned here is working:-
So I'm not sure what I may have missed configuring during the setup.
I already saw this exception when the Coveo Enterprise Search service user wasn't an administrator of the machine.
In the Coveo Admin Service logs I had this error:
Coveo.CES.AdminService.Command.CommandInvoker (null) - The access is denied. The initial setup can only be performed by the user who runs the service or a local administrator. System.UnauthorizedAccessException: The access is denied. The initial setup can only be performed by the user who runs the service or a local administrator.
The solution was to either to:
- Change the Coveo Enterprise Search service user to a local administrator user.
- Grant local administrator permissions to the Coveo Enterprise Search service user.
Let me know if it helps.