Ektron 9.0 and higher using Solr search
No search results in the Workarea. You see the following error in the Windows Event Viewer/WindowsLogs/Application:
Timestamp: 12/16/2013 10:06:32 PM Message:Ektron.Cms.Search.SearchException: An error occurred while submitting the query. ---> System.ServiceModel.ProtocolException: The remote server returned an unexpected response: (405) Method Not Allowed. --->System.Net.WebException: The remote server returned an error: (405) Method NotAllowed. at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpantimeout) --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequestrequest, HttpWebResponse response, HttpChannelFactory`1 factory, WebExceptionresponseException, ChannelBinding channelBinding) atSystem.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpantimeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message,TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action,Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs,TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessagemethodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessagemessage) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&msgData, Int32 type) at Ektron.Cms.Search.Proxies.SolrQueryService.ISolrQueryService.Search(SolrRequestrequest) at Ektron.Cms.Search.Solr.SolrSearchProvider.Search(KeywordSearchCriteriacriteria) --- End of inner exception stack trace --- at Ektron.Cms.Search.Solr.SolrSearchProvider.Search(KeywordSearchCriteriacriteria) at Ektron.Cms.Search.SearchManager.Search(KeywordSearchCriteriacriteria) at Ektron.Cms.Framework.UI.Services.Search.SearchService.BasicSearch(SearchModelmodel, Boolean searchTaxonomy ERRORS: Category: Error Priority: -1 EventId: 0 Severity: Error Title: Machine: WIN-DRL826O7RKA Application Domain:/LM/W3SVC/6/ROOT-1-130317023341870000 Process Id: 5624 Process Name: c:\windows\system32\inetsrv\w3wp.exe Win32 Thread Id: 5688 Thread Name: Extended Properties:
To fix this problem, ensure that WCF Activation is enabled on both servers (CMS and Search):
For IIS 7.5, use the Add Features Wizard. Go to .NET Framework 3.5.1 Features > select both WCF Activation and HTTP activation .
For IIS 8 (Windows Server 2012), use the Add Roles and Features Wizard. The HTTP Activation feature is located under .NET Framework 4.5 Features > WCF Services.
Please sign in to leave a comment.