What?
You might receive an internal server error exception when you use Search Core / Custom Search Results Web Part in SharePoint 2010 with the below exception in ULS log:
Internal server error exception: System.ServiceModel.FaultException Microsoft.Office.Server.Search.Query.KeywordQueryInternal.Execute()
Full Error from ULS:
Internal server error exception: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Exception from HRESULT: 0x80040E60 (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80040E60 at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at at Microsoft.Office.Server.Search.Query.QueryInternal.Execute(QueryProperties properties) at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Execute(QueryProperties properties) at SyncInvokeExecute(Object , Object[] , Object[] ) at System... 71324a1d-9785-4da4-ba0d-3c2f507e9581
....ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc) ...). System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Exception from HRESULT: 0x80040E60 (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80040E60 at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr ... 71324a1d-9785-4da4-ba0d-3c2f507e9581
...errorInfo) at Microsoft.Office.Server.Search.Query.KeywordQueryInternal.Execute() at Microsoft.Office.Server.Search.Query.QueryInternal.Execute(QueryProperties properties) at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Execute(QueryProperties properties) at SyncInvokeExecute(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc) ...). 71324a1d-9785-4da4-ba0d-3c2f507e9581
Why?
I know of one scenario in which this could occur. If you configure your search web part to sort results based on a managed property and if that property does not have "Reduce storage requirements for text properties by using a hash for comparison" set to true, you will likely encounter this error.
How?
Set the property "Reduce storage requirements for text properties by using a hash for comparison" for the managed property that you intend to use for sort operation to "true"
You might receive an internal server error exception when you use Search Core / Custom Search Results Web Part in SharePoint 2010 with the below exception in ULS log:
Internal server error exception: System.ServiceModel.FaultException Microsoft.Office.Server.Search.Query.KeywordQueryInternal.Execute()
Full Error from ULS:
Internal server error exception: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Exception from HRESULT: 0x80040E60 (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80040E60 at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at at Microsoft.Office.Server.Search.Query.QueryInternal.Execute(QueryProperties properties) at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Execute(QueryProperties properties) at SyncInvokeExecute(Object , Object[] , Object[] ) at System... 71324a1d-9785-4da4-ba0d-3c2f507e9581
....ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc) ...). System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Exception from HRESULT: 0x80040E60 (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80040E60 at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr ... 71324a1d-9785-4da4-ba0d-3c2f507e9581
...errorInfo) at Microsoft.Office.Server.Search.Query.KeywordQueryInternal.Execute() at Microsoft.Office.Server.Search.Query.QueryInternal.Execute(QueryProperties properties) at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Execute(QueryProperties properties) at SyncInvokeExecute(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc) ...). 71324a1d-9785-4da4-ba0d-3c2f507e9581
I know of one scenario in which this could occur. If you configure your search web part to sort results based on a managed property and if that property does not have "Reduce storage requirements for text properties by using a hash for comparison" set to true, you will likely encounter this error.
How?
Set the property "Reduce storage requirements for text properties by using a hash for comparison" for the managed property that you intend to use for sort operation to "true"
I'm glad to be reading this article, I simply want to offer you a huge thumbs up for your great information.
ReplyDeleteTableau Guru
www.sqiar.com