Gravatar for coveoadmins@cir2.com

Question by CambridgeAdmins, Aug 30, 2016 2:44 PM

.NET SharePoint 2013 Skin Not Working

Hello,

We're attempting to change the skin of our .NET UI to the SharePoint 2013 skin. It appears as though the skins folder is in our Coveo box, and the option to select the skin is in our Administration Tool. However, every time that we choose the skin the .NET UI turns into a blank white page. The same happens for SharePoint 2010, and 2007.

The error message we receive can be found below.


Version: 12.0 build 1459.0 x64 Server: cir-coveo-kms Instance: Default Port: 52800 Impersonate: False

Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'Coveo.CES.Web.Search.SharePoint.Controls.SharePointSearch'.

Source Error:

Line 1: <%@ Control Language="c#" AutoEventWireup="false" Inherits="Coveo.CES.Web.Search.SharePoint.Controls.SharePointSearch" %> Line 2:
Line 3: <%--****

Source File: /Coveo/Skins/SharePoint 2013/CoveoSearch.ascx Line: 1


We have no idea what's happening. We've looked at all of the documentation we could find on skins, but it's a little vague, and doesn't go into detail. We've reached out to Coveo support, but they just told us to post here. Has someone dealt with this before?

2 Replies
Gravatar for rquirion@coveo.com

Answer by ronald, Aug 30, 2016 3:03 PM

Hi,

My understanding is that you are trying to use a SharePoint skin in a search page outside of SharePoint. The first line of a CoveoSearch.ascx file is usually the main search control to use for the search interface/skin. And the SharePointSearch control cannot be used in a search page not integrated to SharePoint. As per your description, I'm not sure to understand your goal exactly. But I would suggest you to compare the skins "Intranet" (which is based on the IntranetSearch control) and "SharePoint 2013"(which is based on the SharePointSearch control). The "Intranet" skin is like a SharePoint skin that can be used outside of SharePoint (e.g. by the default search hub), contrary to the "SharePoint 20XX" skin that can only be used from the SharePoint search hub.

https://onlinehelp.coveo.com/en/ces/7.0/administrator/netinterfaceeditor-searchhubstab.htm

Hope this helps.

Gravatar for coveoadmins@cir2.com

Answer by CambridgeAdmins, Aug 30, 2016 3:24 PM

So, if we were to replace the SharePoint search with Coveo, then the SharePoint skin would work? The project stakeholders wanted Coveo to look a little more like default SharePoint 2013, so that's why we're trying to make it happen. It would essentially look very similar I'm assuming. We'll give that a shot. Thanks for your help!

Gravatar for rquirion@coveo.com

Comment by ronald, Aug 30, 2016 3:37 PM

It's the SharePoint (2013) skin that is used by default by Coveo SharePoint (2013) integration. So replacing the SharePoint search with Coveo would work indeed. It's true that the default SharePoint 2013 skin looks more like SharePoint 2010 than 2013 unfortunately. I understand your goal now. Glad to see that my answer was useful.

Ask a question