Page search in Edit mode only works with IDs

  • Updated

This article describes an issue with Episerver page search in Edit mode. In this instance it appears to only work when using IDs in the search field.

The first step is to try browsing to the service URL locally on the server. It would look like this and match the url in your configuration. For example:


<episerver.search active="true">
<namedIndexingServices defaultService="serviceName">
<services>
<add name="serviceName"
baseUri="http://localhost:2047/IndexingService/IndexingService.svc"
accessKey="local" />
</services>
</namedIndexingServices>
<searchResultFilter defaultInclude="true">
<providers />
</searchResultFilter>
</episerver.search>

the URL would be:

http://localhost:2047/IndexingService/IndexingService.svc/update/?accesskey=local

If everything was set up properly, the response would say Method not allowed as in the image below.

WebService_MethodNotAllowed.jpg

However, if this is the mentioned problem it is likely to get a 404 Not Found page instead. This may be due to missing Handler Mappings in the IIS. To check this, left click on your website in the IIS, and select Handler Mappings. Scroll down and see if you can find any with the path *.svc

IIS_SVCHandlerMappings.jpg

If none are found then open up the Control Panel.

Windows8_WCFHTTPActivation.jpg

Go to Programs and Features and click the Turn Windows features on or off link. Here tick the HTTP Activation checkbox as in the image. The same thing on the Windows Server environment below.

Server_WCFHTTPActivation.jpg

Information provided from here.