Epi Search works in local version, but not in server

Vote:
 

Hi all,

I am reusing search functionality from EpiServer 7 templates: http://world.episerver.com/Articles/Items/ASPNET-MVC-Templates-for-EPiServer-7-CMS/

It works perfect in my local version, but when I upload it to server I get no results. Also, when I am browsing this address in local http://LOCAL_ADDRESS/IndexingService/IndexingService.svc , I get screen with notice: Service. Endpoint not found.

Then I browse this address in server, I get "Page could not be found"

The problem probably in configuration. This a peace of code from web.config:

<episerver.search active="true">
<namedIndexingServices defaultService="serviceName">
<services>
<!--<add name="{serviceName}" baseUri="{indexingServiceBaseUri}" accessKey="{accessKey}"/>-->
<add name="serviceName" baseUri="http://dvc-dw-009:37005/IndexingService/IndexingService.svc" accessKey="local" />
</services>
</namedIndexingServices>
<searchResultFilter defaultInclude="true">
<providers />
</searchResultFilter>
</episerver.search>

When I change site url to server's, it still doesnt work. But at least this configuration works in local.

#69882
Apr 09, 2013 9:10
Vote:
 

Try adding multipleSiteBindingsEnabled="true" to web.config

 

<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>

 

Then navigate to http://[your-domain]/IndexingService/IndexingService.svc

 

You should see a service page with Endpoint not found.

 

You can then test the search on the site, if you get an error on when viewing IndexingService.svc it may be something else.

 

#71180
May 13, 2013 12:22
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.