Hi All,
When trying to use the search function . we get the following error:
System.ServiceModel.ProtocolException: The remote server returned an unexpected response: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
--- End of inner exception stack trace ---
Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
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(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
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 Adxstudio.Xrm.GlobalSearch.Services.ISearchService.BuildIndex()
at Adxstudio.Xrm.GlobalSearch.Services.Client.SearchServiceClient.BuildIndex()
at Adxstudio.Xrm.GlobalSearch.Plugins.BuildRequestHandler.GetResponse(IExecutionContext executionContext, IOrganizationService service, IDictionary`2 settings, IDictionary`2 parameters, SearchServiceClient serviceClient)
at Adxstudio.Xrm.GlobalSearch.Plugins.ServiceClientRequestHandler.<>c__DisplayClass1.<GetResponse>b__0()
at Adxstudio.Xrm.GlobalSearch.Plugins.DictionaryExtensions.UsingSearchServiceClient[T](SearchServiceClient serviceClient, IDictionary`2 settings, Func`1 action)
at Adxstudio.Xrm.GlobalSearch.Plugins.ServiceClientRequestHandler.GetResponse(IExecutionContext executionContext, IOrganizationService service, IDictionary`2 settings, IDictionary`2 parameters)
at Adxstudio.Xrm.GlobalSearch.Plugins.SearchRequestPlugin.Execute(IServiceProvider serviceProvider, IPluginExecutionContext executionContext, IOrganizationService service, IDictionary`2 settings)
hanks
*This post is locked for comments