Gravatar for

Question by helen, Oct 8, 2015 2:09 PM

Building index error :MissingUserIdentityException

After installing coveo CES in the same server of the website, I got the error below while building index.

Job started: Index_Update_IndexName=Coveo_master_index|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Coveo.AbstractLayer.Exceptions.MissingUserIdentityException: The user identity Sitecore Admin for VM-AVD-HELEP-score5 does not exists.
   at Coveo.AbstractLayer.Communication.CES.AdminModule.SetSourceUserIdentity(SourceConfig p_SourceConfig, UserIdentityConfig p_UserIdentity)
   at Coveo.AbstractLayer.Communication.CES.AdminModule.CreateSource(SourceConfig p_SourceConfig)
   at Coveo.AbstractLayer.Communication.CES.AdminModule.SetUpRequirements(String p_ServerUrl, String p_TargetSite, ForeignKeysConfiguration p_ForeignKeysConfiguration, IList`1 p_RankingIgnoredFields)
   at Coveo.AbstractLayer.Communication.CES.CESCommunication.InitializeAdminModule(String p_ServerUrl, String p_TargetSite, ForeignKeysConfiguration p_ForeignKeysConfiguration, IList`1 p_RankingIgnoredFields)
   at Coveo.SearchProvider.ProviderIndexBase.InitializeAdminModule()
   at Coveo.SearchProvider.ProviderIndexBase.PerformRebuild(IProviderUpdateContext p_Context, Action`1 p_CrawlerAction)
   at Coveo.SearchProvider.ProviderIndexBase.Rebuild(IndexingOptions p_IndexingOptions, IProviderUpdateContext p_Context, Action`1 p_CrawlerAction)
   at Coveo.SearchProvider.ProviderIndex.Rebuild()
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at (Object , Object[] )
   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
   at Sitecore.Jobs.Job.ThreadEntry(Object state)
Gravatar for

Comment by Simon, Oct 8, 2015 3:07 PM

Hello, could you please give the version of your Coveo and Coveo for Sitecore? We saw a similar issue due to a version mismatch.

Gravatar for

Comment by helen, Oct 8, 2015 10:29 PM

These are Coveo and Sitecore info:

  • Sitecore Version : 8.0 rev.150427
  • Coveo Enterprise Search 7.0x64 (7711) for sitecoe
  • Coveo Search API 8.0.560
  • Coveo for stiecore 80 3.0(1123).zip
1 Reply
Gravatar for

Answer by Simon, Oct 9, 2015 10:48 AM

As I said in my previous comment, this issue looks like a version mismatch.

You are using Coveo for Sitecore October with Coveo June.

Please upgrade your Coveo software. Here is the latest build:

Let me know how it goes.


Gravatar for

Comment by helen, Oct 12, 2015 5:39 PM

HI Simon,

Thanks! The rebuilding index issue has been fixed with the #7914 release. By the way, Coveo Search has been upgraded quite often. May I ask if we need to keep upgrading it? Or will I get notification for new releases including release notes?

There is another issue coming out: Search Rest Endpoint (http://localhost:8080/rest/search ) returns 500 error. Thanks in advance!

  "statusCode" : 500,
  "message" : "Call returned SOAP fault: There was no certificate provided by the client while trying to impersonate users. Either provide a trusted client certificate with impersonation rights or login with requested credentials.",
  "type" : "ServerReturnedSoapFaultException",
  "executionReport" : {
    "type" : "RootReport",
    "description" : "",
    "childs" : [ {
      "type" : "QueryPipelineReport",
      "description" : "Resolve pipeline",
      "duration" : 0,
      "result" : "None",
      "childs" : [ ]
    }, {
      "type" : "QueryPipelineReport",
      "description" : "Resolve identities",
      "duration" : 0,
      "result" : "List(UserId(VM-AVD-HELEP\\server_admin,Active Directory,User,None,None))",
      "childs" : [ ]
    } ]



Gravatar for

Comment by Simon, Oct 12, 2015 5:45 PM

Great. For the new issue, make sure that the Certificate path in the config.yml of your Coveo Search API is correct.

For the upgrades, we recommend to stay up to date during development (one build per month). Once you are fully deployed in production, we recommend an upgrade every 6 months, up to a year maximum.

Regards, Simon

Ask a question