Gravatar for

Question by arvid, Oct 26, 2015 6:06 AM

Coveo for Sitecore error with Sitecore 8 using Solr Castle windsor


We're having a Sitecore 8.0 update 3 installation using Solr with castle windsor. We've successfully installed Coveo Enterprise Search 7.0 x64 (7914) for Sitecore, Coveo Search API 8.0.772 and Coveo for Sitecore 80 3.0 (1123) but as soon as the Coveo for Sitecore configs are enabled the entire site goes down with this error, see below.

Sitecore and Coveo seems to be working fine as soon as we're switching to Lucene.

We'd really like to use Solr since we're using a multiple server solution.

Someone got any idea on how to solve this?

Best regards


Server Error in '/' Application.
Response is not available in this context.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Web.HttpException: Response is not available in this context.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 

[HttpException (0x80004005): Response is not available in this context.]
   System.Web.HttpContext.get_Response() +110
   Sitecore.Security.Authentication.AuthenticationHelper.HandleAuthenticationError() +239
   Sitecore.Security.Authentication.FormsAuthenticationHelper.GetCurrentUser() +649
   Sitecore.Security.Authentication.AuthenticationHelper.GetActiveUser() +24
   Sitecore.Security.Authentication.AuthenticationManager.GetActiveUser() +40
   Sitecore.Security.AccessControl.ItemAccess.IsAllowed(Item item, AccessRight accessRight) +28
   Sitecore.Data.Managers.ItemProvider.ApplySecurity(Item item, SecurityCheck securityCheck) +113
   Sitecore.ContentTesting.Pipelines.ItemProvider.GetItem.GetItemUnderTestProcessor.Process(GetItemArgs args) +161
   (Object , Object[] ) +83
   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +308
   Sitecore.Data.Managers.PipelineBasedItemProvider.ExecuteAndReturnResult(String pipelineName, String pipelineDomain, Func`1 pipelineArgsCreator, Func`1 fallbackResult) +148
   Sitecore.Data.Managers.ItemManager.GetItem(String itemPath, Language language, Version version, Database database) +146
   Sitecore.FXM.Matchers.DomainMatcherRepository.GetAllDomainMatchers(IDatabase database) +77
   Sitecore.FXM.Sites.FxmSiteProvider.GetFxmSites() +93
   Sitecore.FXM.Sites.FxmSiteProvider.get_FxmSites() +84
   Sitecore.FXM.Sites.FxmSiteProvider.GetSites() +41
   Sitecore.Sites.SitecoreSiteProvider.<GetSites>b__6(SiteProvider p) +14
   System.Linq.<SelectManyIterator>d__14`2.MoveNext() +267
   Sitecore.Sites.SiteCollection.AddRange(IEnumerable`1 sites) +136
   Sitecore.Sites.SitecoreSiteProvider.GetSites() +167
   Sitecore.Sites.SiteContextFactory.GetSites() +208
   Sitecore.Sites.SiteContextFactory.GetSiteInfo(String name) +104
   Sitecore.Sites.SiteContextFactory.GetSiteContext(String name) +38
   Coveo.Framework.Sites.SiteContextFactoryWrapper.GetSiteContext(String p_SiteName) +127
   Coveo.Framework.Configuration.CoveoIndexConfiguration.Validate() +165
   Coveo.SearchProvider.ProviderIndexBase.Initialize(IIndexDocumentPropertyMapper`1 p_DocumentTypeMapper) +2241
   Coveo.SearchProvider.ProviderIndex.Initialize() +128
   Coveo.SearchProvider.Configuration.CoveoSearchConfiguration.AddIndex(ISearchIndex p_Index) +204
Gravatar for

Comment by Simon, Oct 27, 2015 10:07 AM

I sent you an email directly, we never saw this error but we would like to investigate.

1 Reply
Gravatar for

Answer by Sébastien Belzile, Nov 18, 2015 8:12 AM


First of all, sorry for the late response.

We have been able to reproduce your bug and have a fix for it. The fix is included in the December 2015 release of Coveo for Sitecore.

Ask a question