none
Error while searching on SharePoint site : Internal server error exception RRS feed

  • Question

  • Hi All,

    I have set up Fast serach succesfully on my fast dev server   which is different from SP server. I have followed all the steps from MS article to install and configure Fast. But after doing everything, when i go to fast search site and do a search... i get the following error:

    Error

    Error

    Internal server error exception:

     

    Troubleshoot issues with Microsoft SharePoint Foundation.

    Correlation ID: b483cd23-c9ee-4a5c-ab3b-17e22f8f21f3

    I have checked Fast server logs.. nothing there.. Also i ran the command get-spsitecollection "sp".. it shows me the no of documents. I even tried docpush command also..that also worked. I am able to crawl the site also and i can see the results in crawl logs that everything successfully crawled. But when try to search on Sp site, getting the above error. Please help me out as its alreay been 3 days working on it. thanks a lot..

    Regards

    Shaan


    Thursday, September 15, 2011 7:03 PM

Answers

  • HI,

      I actually solved my problem. After trying all possible scenarios when it did not work, i decided to recreate the fast Ssa and Query ssa again and this time it worked and till now is working. Great. thanks Mikael for your help and support.

     

    Regards

    Shaan Singh

    Tuesday, September 20, 2011 1:40 PM

All replies

  • Hi Shaan,

    Most likely you have set up something wrong on the query part.. either the Query SSA, or maybe related to the certificate you export from SP to FAST.

    I would recommend using ULS Viewer on your SharePoint server and examine what error you get more closely, or dig thru the log files in the 14 hive manually. This should give more information about what is failing.

    Regards,
    Mikael Svenson 


    Search Enthusiast - SharePoint MVP/WCF4/ASP.Net4
    http://techmikael.blogspot.com/
    Thursday, September 15, 2011 7:24 PM
  • Hi Mikael,

      Thanks for replying. After digging inside , following is the error that i got from log file.

     

    SearchServiceApplicationProxy::GetLocationConfigurations--Error occured: System.Threading.ThreadAbortException: Thread was being aborted.     at System.Net.UnsafeNclNativeMethods.OSSOCK.recv(IntPtr socketHandle, Byte* pinnedBuffer, Int32 len, SocketFlags socketFlags)     at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode)     at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)     at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)     at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)     at System.Net.ConnectStream.ProcessWriteCallDone(ConnectionReturnResult returnResult)     at System.Net.ConnectStream.CallDo...    4f481194-7bb2-40af-83de-0b6bb622824d
        w3wp.exe (0x08C4)                           0x17BC    SharePoint Server Search          Query                             dk9x    High        ...ne(ConnectionReturnResult returnResult)     at System.Net.ConnectStream.ResubmitWrite(ConnectStream oldStream, Boolean suppressWrite)     at System.Net.HttpWebRequest.EndWriteHeaders_Part2()     at System.Net.HttpWebRequest.EndWriteHeaders(Boolean async)     at System.Net.HttpWebRequest.WriteHeadersCallback(WebExceptionStatus errorStatus, ConnectStream stream, Boolean async)     at System.Net.ConnectStream.WriteHeaders(Boolean async)     at System.Net.HttpWebRequest.EndSubmitRequest()     at System.Net.HttpWebRequest.GetResponse()     at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)     at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)     at System.ServiceModel.Channels.SecurityC...    4f481194-7bb2-40af-83de-0b6bb622824d
        w3wp.exe (0x08C4)                           0x17BC    SharePoint Server Search          Query                             dk9x    High        ...hannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)     at System.ServiceModel.Dispatcher.RequestChannelBinder.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)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)     at Microsoft.Office.Server.Search.Administration.ISearchSiteAdministrationServiceApplication.GetLocationConfigurations(Int64& lastUpd...    4f481194-7bb2-40af-83de-0b6bb622824d
    09/15/2011 16:21:52.32*    w3wp.exe (0x08C4)                           0x17BC    SharePoint Server Search          Query                             dk9x    High        ...ate, Boolean& useCrawlProxy)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.GetLocationConfigurations(Int64& lastUpdate, Boolean& useCrawlProxy)    4f481194-7bb2-40af-83de-0b6bb622824d
    09/15/2011 16:21:52.32     w3wp.exe (0x08C4)                           0x17BC    SharePoint Server Search          Administration                    fv2l    High        'FAst Query SSA', location cache: Exception while fetching location configuration data. StackTrace: System.Threading.ThreadAbortException: Thread was being aborted.     at System.Net.UnsafeNclNativeMethods.OSSOCK.recv(IntPtr socketHandle, Byte* pinnedBuffer, Int32 len, SocketFlags socketFlags)     at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode)     at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)     at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)     at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)     at System.Net.ConnectStream.ProcessWriteCallDone(ConnectionReturnResult returnResult)     at Syst...    4f481194-7bb2-40af-83de-0b6bb622824d
       w3wp.exe (0x08C4)                           0x17BC    SharePoint Server Search          Administration                    fv2l    High        ...em.Net.ConnectStream.CallDone(ConnectionReturnResult returnResult)     at System.Net.ConnectStream.ResubmitWrite(ConnectStream oldStream, Boolean suppressWrite)     at System.Net.HttpWebRequest.EndWriteHeaders_Part2()     at System.Net.HttpWebRequest.EndWriteHeaders(Boolean async)     at System.Net.HttpWebRequest.WriteHeadersCallback(WebExceptionStatus errorStatus, ConnectStream stream, Boolean async)     at System.Net.ConnectStream.WriteHeaders(Boolean async)     at System.Net.HttpWebRequest.EndSubmitRequest()     at System.Net.HttpWebRequest.GetResponse()     at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)     at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)     at System.Serv...    4f481194-7bb2-40af-83de-0b6bb622824d
    09/15/2011 16:21:52.32*    w3wp.exe (0x08C4)                           0x17BC    SharePoint Server Search          Administration                    fv2l    High        ...iceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)     at System.ServiceModel.Dispatcher.RequestChannelBinder.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)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)     at Microsoft.Office.Server.Search.Administration.ISearchSiteAdministrationServiceApplication.GetLocationCo...    4f481194-7bb2-40af-83de-0b6bb622824d
       w3wp.exe (0x08C4)                           0x17BC    SharePoint Server Search          Administration                    fv2l    High        ...nfigurations(Int64& lastUpdate, Boolean& useCrawlProxy)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.GetLocationConfigurations(Int64& lastUpdate, Boolean& useCrawlProxy)     at Microsoft.Office.Server.Search.Administration.LocationConfigurationCollection.PopulateCollection()     at Microsoft.Office.Server.Search.Administration.LocationConfigurationCollection.Init()     at Microsoft.Office.Server.Search.Administration.LocationConfigurationCollection..ctor(SearchServiceApplicationProxy searchAdmin)     at Microsoft.Office.Server.Search.Administration.LocationCache.FetchLocationConfigurationData()    4f481194-7bb2-40af-83de-0b6bb622824d
      w3wp.exe (0x08C4)                           0x17BC    SharePoint Server Search          Query                             fm9a    Unexpected    CoreResultsWebPart::OnInit: Exception initializing: System.Threading.ThreadAbortException: Thread was being aborted.     at Microsoft.Office.Server.Search.Administration.LocationCache.FetchLocationConfigurationData()     at Microsoft.Office.Server.Search.Administration.LocationCache.RefreshCache(Guid key)     at Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValueNow(K key)     at Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValue(K key, Boolean asynchronous)     at Microsoft.Office.Server.Search.Administration.LocationCache.InitializeAsyncCache()     at Microsoft.Office.Server.Search.Administration.LocationCacheManager.GetLocationCache(SearchServiceApplicationProxy searchProxy, Boolean forceRefresh)     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.SetProper...    4f481194-7bb2-40af-83de-0b6bb622824d
        w3wp.exe (0x08C4)                           0x17BC    SharePoint Server Search          Query                             fm9a    Unexpected    ...tiesOnQueryReader()     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e)    4f481194-7bb2-40af-83de-0b6bb622824d
    09/15/2011 16:21:52.32     w3wp.exe (0x08C4)                           0x17BC    SharePoint Server                 General                           7888    Warning     A runtime exception was detected. Details follow.  Message: Thread was being aborted.  Technical Details: System.Threading.ThreadAbortException: Thread was being aborted.     at Microsoft.Office.Server.Search.Administration.LocationCache.FetchLocationConfigurationData()     at Microsoft.Office.Server.Search.Administration.LocationCache.RefreshCache(Guid key)     at Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValueNow(K key)     at Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValue(K key, Boolean asynchronous)     at Microsoft.Office.Server.Search.Administration.LocationCache.InitializeAsyncCache()     at Microsoft.Office.Server.Search.Administration.LocationCacheManager.GetLocationCache(SearchServiceApplicationProxy searchProxy, Boolean forceRefresh)     at Microsoft.Office....    4f481194-7bb2-40af-83de-0b6bb622824d
       w3wp.exe (0x08C4)                           0x17BC    SharePoint Server                 General                           7888    Warning     ...Server.Search.WebControls.CoreResultsWebPart.SetPropertiesOnQueryReader()     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e)    4f481194-7bb2-40af-83de-0b6bb622824d
         w3wp.exe (0x08C4)                           0x17BC    SharePoint Server Search          Query                             g1j9    Exception    (Watson Reporting Cancelled) System.Threading.ThreadAbortException: Thread was being aborted.     at Microsoft.Office.Server.Search.Administration.LocationCache.FetchLocationConfigurationData()     at Microsoft.Office.Server.Search.Administration.LocationCache.RefreshCache(Guid key)     at Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValueNow(K key)     at Microsoft.Office.Server.Utilities.SPAsyncCache`2.GetValue(K key, Boolean asynchronous)     at Microsoft.Office.Server.Search.Administration.LocationCache.InitializeAsyncCache()     at Microsoft.Office.Server.Search.Administration.LocationCacheManager.GetLocationCache(SearchServiceApplicationProxy searchProxy, Boolean forceRefresh)     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.SetPropertiesOnQueryReader()    ...    4f481194-7bb2-40af-83de-0b6bb622824d
      w3wp.exe (0x08C4)                           0x17BC    SharePoint Server Search          Query                             g1j9    Exception    ... at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e)    4f481194-7bb2-40af-83de-0b6bb622824d

    What we should figure out from this? thanks...

    Shaan

    Thursday, September 15, 2011 8:32 PM
  • Hi,

    Can you verify that that the FAST Query SSA is set as the default (and only) Search SSA in your application proxy group (as described on TechNet), and on your core results webpart make sure the search location is set to "Local FAST Search Results".

    I'm not sure if this will solve your issue, but it's worth a try.

    Regards,
    Mikael Svenson 


    Search Enthusiast - SharePoint MVP/WCF4/ASP.Net4
    http://techmikael.blogspot.com/
    Friday, September 16, 2011 1:32 PM
  • Hi Mikale,

     Thanks again. I checked and the ssa proxy is default to the web app. So its fine. But how do i check core results webpart to make sure the location settings to Fast Search??? thanks

     

    Regards

    Shaan

    Friday, September 16, 2011 2:22 PM
  • Hi,

    Edit the Search Results page in SharePoint, then edit the "Core Results" web part, find the Location settings and change it.

    If all fails, you might try to re-create the Query SSA and see if that solves your error.

    Regards,
    Mikael Svenson 


    Search Enthusiast - SharePoint MVP/WCF4/ASP.Net4
    http://techmikael.blogspot.com/
    Friday, September 16, 2011 6:48 PM
  • HI,

      I actually solved my problem. After trying all possible scenarios when it did not work, i decided to recreate the fast Ssa and Query ssa again and this time it worked and till now is working. Great. thanks Mikael for your help and support.

     

    Regards

    Shaan Singh

    Tuesday, September 20, 2011 1:40 PM
  • Shaan,

    what was the location of the log file you was looking in, i.e. where did you find that?

    Friday, October 21, 2011 8:10 AM