Gravatar for adam@borsi.ca

Question by Adam, Jan 23, 2017 3:14 PM

Error when Integrating Code with fresh install of Sitecore 8.1 w/Coveo & ActiveCommerce Could not resolve type name: Coveo.SearchProvider.Processors.EnableTls12Processor, Coveo.SearchProviderBase

Greetings,

Have a unique issue, I think anyway.

I've setup Sitecore 8.1, Active Commerce and Coveo for Sitecore (local on prem with CES). Everything runs fine to my knowledge, BUT once I try to integrate my solution to the Sitecore Instance everything goes wrong.

I'm presented with this error:

Server Error in '/' Application.

Could not resolve type name: Coveo.SearchProvider.Processors.EnableTls12Processor, Coveo.SearchProviderBase (method: Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).

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.Exception: Could not resolve type name: Coveo.SearchProvider.Processors.EnableTls12Processor, Coveo.SearchProviderBase (method: Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).

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: 

[Exception: Could not resolve type name: Coveo.SearchProvider.Processors.EnableTls12Processor, Coveo.SearchProviderBase (method: Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).]
Sitecore.Diagnostics.Error.Raise(String error, String method) +137
Sitecore.Configuration.Factory.CreateType(XmlNode configNode, String[] parameters, Boolean assert) +293
Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert) +58
Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +131
Sitecore.Pipelines.CorePipelineFactory.GetObjectFromType(String type, XmlNode processorNode) +91
Sitecore.Pipelines.CoreProcessor.GetMethod(Object[] parameters) +141
Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +470
Sitecore.Nexus.Web.HttpModule.Application_Start() +227
Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +649
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +618
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +402
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +343

[HttpException (0x80004005): Could not resolve type name: Coveo.SearchProvider.Processors.EnableTls12Processor, Coveo.SearchProviderBase (method: Sitecore.Configuration.Factory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)).]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +539
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +125
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +731

I'm trying to diagnose what could have sparked the error. The only reference to this particular assembly is in the Coveo.SearchProvider.config. Nothing in my solutions config files OR referenced anywhere within the code.

Should also be noted that it kills the entire instance, not just the front end.

Did I skip something in the setup? I followed this (or something close to this provided by the Coveo for Sitecore install Wizard)

Do I have a bad config somewhere?

I couldn't find any other reference to this issue so I'm hoping someone has experienced something similar.

Any and all help is appreciated.

Thank you kindly, Adam

Gravatar for dberube@coveo.com

Comment by Dominic Berube, Jan 23, 2017 3:20 PM

Are you sure all Coveo for Sitecore binary files are correctly installed on your Sitecore instance? The EnalbeTls12Processor is part of the Coveo.SearchProviderBase.dll assembly, looks like this file is not present in your bin folder.

1 Reply
Gravatar for adam@borsi.ca

Answer by Adam, Jan 25, 2017 12:03 PM

Hi dberube,

At the time, yes.

Turns out the Coveo for Sitecore that I installed was for a newer version than my instance, I took for granted the instruction documentation directing me to a file. Once I corrected that everything was resolved with this error.

Thank you for your response. Appreciate the help.

Adam

Ask a question