EPiServer Search in Edit Mode does not work, or only works for page ids

We noticed that the edit mode EPiServer search did not function properly for a new website being developed for a client. What caused the issue was mainly two things; the EPiServer search not being set up properly (causing the message Content not found), and some missing handler mappings in the IIS making us only being able to search based on PageIds. Here is a short description on how to set this up afterwards, if you did not do it while you installed the EPiServer site.

EPiServer Search in Edit mode always return Content not found

The reason for this is that you have not yet set up EPiServer Search for your website. You can either do this via EPiServer’s Deployment Center, or through the EPiServer NuGet package. I did this from the NuGet feed. Remember that you will need to update your configuration transforms in order to maintain changes done by the package install. The only config file affected by this is web.config; additions and alterations summarized below.

    <section name="episerver.search.indexingservice"
             type="EPiServer.Search.IndexingService .Configuration.IndexingServiceSection, EPiServer.Search.IndexingService" />
  <assemblyIdentity name="EPiServer.Search.IndexingService"
                    culture="neutral" />
  <bindingRedirect oldVersion=""
                   newVersion="" />
<episerver.search active="true">
  <namedIndexingServices defaultService="serviceName">
      <add name="serviceName"
           accessKey="local" />
  <searchResultFilter defaultInclude="true">
    <providers />
        <binding name="IndexingServiceCustomBinding"
        <readerQuotas maxStringContentLength="10000000" />
    <add name="local"
         readonly="false" />
  <namedIndexes defaultIndex="default">
      <add name="default"
           readonly="false" />
  <location path="IndexingService/IndexingService.svc">
      <httpRuntime maxQueryStringLength="65536" />
          <requestLimits maxQueryString="65536" />

EPiServer Search in Edit mode only searches on page ids

If you find that you are only able to search for pages using Page Ids in EPiServer’s edit mode search field, you might want to try browsing to the service URL locally on the server. Using the URL from the example configuration above, surfing to http://localhost:2047/IndexingService/IndexingService.svc/update/?accesskey=local should, if everything was set up properly, yield a service response saying Method not allowed as in the image below.

Method not allowed

However, if you’re having the mentioned problem you are 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

SVC handler mappings in the IIS.

If you don’t, you will need to open up the Control Panel.

WCF HTTP Activation on Windows 8

Above is a screenshot of my local developer machine. Go to Programs and Features and click the Turn Windows features on or off link. Here you’ll have to tick the HTTP Activation checkbox as in the image. The same thing on our Windows Server environment below.

WCF HTTP Activation on Windows Server


  1. Björn Ali Göransson November 1, 2015
  2. Janaka Fernando January 26, 2017