Gravatar for

Question by Matt, Aug 4, 2015 6:34 AM

Updated tools, CES controls failing

I recently upgraded an install from CES 7.0.5556 (x64) and FE 12.0.910(x64) to CES 7.0.7711 and FE12.0.1242. To support skin customisations, I updated the coveo libraries in my solution and rebuilt the library containing the custom fields, and dropped that back into ~/Coveo .NET Front-End 12/Bin/. Currently when I view my search page, I get the following error:

Parser Error Message: The base class includes the field 'c', but its type (Coveo.CES.Web.Search.Controls.SearchHub) is not compatible with the type of control (Coveo.CES.Web.Search.Controls.SearchHub).

Source Error:

Line 10: <h3>Search</h3>

Line 11: <asp:Panel ID="Panel1" runat="server">

Line 12: <ces:SearchHub id="c" runat="server"/>

Line 13: </asp:Panel>

Line 14: </div>

I've cleared my .NET caches, restarted the services, including IIS. Rechecked my project DLLs were updated from the latest install, and that my latest custom fields were in the FE bins, all to no avail.

Does anyone know why it thinks the types don't match, or have any input on fixing it? Thanks!

1 Reply
Gravatar for

Answer by ronald, Aug 4, 2015 8:50 AM

It looks like you have 2 different versions of Coveo.CES.Web.Search.dll loaded at the same time. How is the reference to that assembly done in your VisualStudio project? Is it referring a copy that would have not been upgraded? Is it referring the DLL in the GAC?

Assuming that the Coveo Front-End is installed on C:, open a command prompt and execute the following:

CD \
dir Coveo.CES.Web.Search.dll /s

This will look for all the copies of the DLL. There is probably a wrong version somewhere. Make sure that they are all of the version 12.0.1242 (including the one in the GAC).

Ask a question