Gravatar for dsoriano@littelfuse.com

Question by Dean, Feb 1, 2016 2:42 AM

Could not load file or assembly 'Coveo.SearchProvider.Rest' or one of its dependencies

Hi,

I am in the process of migrating our Sitecore solution from .NET 4.5 to 4.5.2 and I have updated our target frameworks for each of the projects. Everything builds successfully, but when I tried to run the web site, I get hit by this error. I checked our assemblies and I don't seem to be missing any Coveo-related dlls. We are using CFS 3.0 (Aug) and Sitecore 7.0 Any ideas? Is there any dependency I'm missing when I moved to 4.5.2?

Thanks

Gravatar for slangevin@coveo.com

Comment by Simon, Feb 1, 2016 11:46 AM

Hi, what is your Coveo and Coveo for Sitecore versions?

Gravatar for dsoriano@littelfuse.com

Comment by Dean, Feb 1, 2016 8:33 PM

SC: 7.0 rev. 140120 CFS 3.0 (1084) Aug

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Feb 2, 2016 3:58 PM

Hi,

I tried to reproduce your issue but I have the .Net Framework 4.6 on my machine and I'm unable to target the .Net Framework 4.5.2 for my Sitecore website. Do you have an idea on how to achieve this?

Also, are your projects reference Coveo.SearchProvider.Rest.dll?

Gravatar for dsoriano@littelfuse.com

Comment by Dean, Feb 2, 2016 7:15 PM

Hi Jeff,

You can try this link to install the dev kit targeting 4.5.2 framework : https://www.microsoft.com/en-us/download/details.aspx?id=42637

Yes, one of our dll projects reference this Rest assembly.

Thanks

Gravatar for dsoriano@littelfuse.com

Comment by Dean, Feb 14, 2016 8:04 AM

Hi,

Any luck with this one?

Thanks

Gravatar for dsoriano@littelfuse.com

Comment by Dean, Feb 18, 2016 9:39 PM

Hi,

Just following up

Thanks

Gravatar for sbelzile@coveo.com

Comment by Sébastien Belzile, Feb 19, 2016 12:46 PM

The tests I performed seems to work properly…

You simply upgraded your Sitecore solution from 4.5 to 4.5.2? What are the steps you performed?

Coveo.SearchProvider.Rest has the following dependancies: Coveo.Connectors.Utilities.Compression.dll, System.dll, Sitecore.Kernel.dll, Coveo.UIBase.dll, mscorlib, Coveo.Framework.dll, Sitecore.ContentSearch.dll, Coveo.Search.Api.Proxy.dll, System.core, System.Web, System.Web.Extensions.

Is any of these missing?

You said that you were referencing the Rest assembly in your code. Is the assembly you use in your Sitecore instance the same that you reference in your solution?

Gravatar for dsoriano@littelfuse.com

Comment by Dean, Feb 22, 2016 3:53 AM

Yes, all assemblies are in the bin folder and the same refs throughout the application. The steps I did were basically, 1) Changed the target framework for each of the Projects in the solution 2) Rebuild the solution (builds fine) 3) Run (Dependency Error occurs)

Thanks

Gravatar for sbelzile@coveo.com

Comment by Sébastien Belzile, Feb 24, 2016 9:24 AM

Anything special in the logs?

Anything special that you reference/override so I can try it?

Gravatar for sbelzile@coveo.com

Comment by Sébastien Belzile, Feb 26, 2016 8:34 AM

OK? So, is your problem fixed?

Gravatar for dsoriano@littelfuse.com

Comment by Dean, Mar 7, 2016 12:06 AM

yes it's resolved, Thanks

1 Reply
Gravatar for dsoriano@littelfuse.com

Answer by Dean, Feb 25, 2016 9:50 PM

Hi,

Seems like it's not just for 4.5.2, there is something with the VS Dev Server (Project --> Properties --> Web). Coz, if I used the Local IIS Web Server instead of the VS Dev server, the web site loads. If I revert to the VS Dev Server, I'm hit with the Coveo assembly errors.

Thanks

Ask a question