Search results are not showing - Invalid request

Hi,

I have a publishing site, in which I have enabled the search and the data is crawled.

I created a subsite "Search"

When i add some data in search box, the custom search result page is showing, but no data is shown.

However if I use: http://siteName/_layouts/15/osssearchresults.aspx#k=test , the results are shown.

The same search value is not shown for: http://siteName/search/Pages/results.aspx?k=test , I am getting error as "Invalid request".

Error details:

Exception occured in scope Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries. Exception=Microsoft.SharePoint.Client.InvalidClientQueryException: Invalid request.   
 at Microsoft.SharePoint.Client.DataConverter.GetObject[T](XmlNode node, ProxyContext proxyContext)   
 at Microsoft.SharePoint.Client.DataConverter.GetObjectArray[T](XmlNode node, ProxyContext proxyContext)   
 at Microsoft.Office.Server.Search.Query.SearchExecutorServerStub.ExecuteQueries_MethodProxy(SearchExecutor target, XmlNodeList xmlargs, ProxyContext proxyContext)   
 at Microsoft.Office.Server.Search.Query.SearchExecutorServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)   
 at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)

The master page is a custom one and has the following code for search box:

<td class="tdSearch" style="padding-left: 22px;">
<div class="ms-tableCell ms-verticalAlignTop">
<SharePoint:AjaxDelta id="DeltaPlaceHolderSearchArea" BlockElement="true" CssClass="ms-mpSearchBox ms-floatRight" runat="server">
<asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server">
<div id="searchInputBox">
<SharePoint:DelegateControl ID="DelegateControl5" runat="server" ControlId="SmallSearchInputBox" />
</div>
</asp:ContentPlaceHolder>
</SharePoint:AjaxDelta>
</div>

</td>

How to fix this?

Thanks


  • Edited by Venkatzeus Tuesday, June 30, 2015 3:00 PM
June 30th, 2015 2:24pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics