Internal Server Exception Error SharePoint 2010 Search

Users complained that they are getting  : Internal Server Exception Error  whenever they search on a SharePoint Portal.

This error occurs only on the very first search , when the page is refreshed search results appear normally.



Explanation : As the Search Functionality whenever a user searched with their query in the search box the query hits the WFE  and from the WFE the request will be processed to the server on which the Search Query and site settings service is configured (Started).

Analysis : After looking into the below logs I searched for the above mentioned service (Search Query and site settings service is configured (Started). on all the servers but this error logs were found only 1 server and this is a WFE. It is marked in bold below.

The search is not configured on this server , however I noticed that the service for Search Query and site settings service is started on this WFE. So Ideally this service should be running only on the servers where Search has been configured or where indexing or query components exist.

Hence I went ahead and stopped the Search Query and site settings service .

Now this was permanent fix for the error. But stop the service only during off  business hours to avoid any risk .

Event Viewer Logs : 

SharePoint Web Services Round Robin Service Load Balancer Event: EndpointFailure
Process Name: w3wp
Process ID: 10120
AppDomain Name: /LM/W3SVC/1000845466/ROOT-1-130697290206383020
AppDomain ID: 2
Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:d9cf9af2e36e4da396faf0089959ebb3#authority=urn:uuid:dcaec3c122874a9998af4b9eef5a2eb4&authority=https://sv42080oel1191:32844/Topology/topology.svc
Active Endpoints: 2
Failed Endpoints:1
Affected Endpoint: http://sv42080oel1226:32843/d9cf9af2e36e4da396faf0089959ebb3/SearchService.svc

Comments

Popular posts from this blog

Migrate Secure Store Service Application from SharePoint 2013 to SharePoint 2016

Creation of Secure Store Service Application failed because of the following errors: The Timer Job Completed but failed on one or more machines in the farm.

HTTP 403 Forbidden SharePoint 2013