Wednesday, 2 February 2011

Unable to connect with the search service - SharePoint Enterprise Search

Background:
Today I finished setting up my Farm which is of medium level having 2 front end servers, 1 application server and 1 database server. After finishing the Enterprise Search Configuration(setting up the search service and content sources & crawl schedules) I tried to set up the search centre. Search Centre site was set up without any complaints but when I tried to search for 'administrator' under people's search tab I stumbled upon this problem. 


Enterprise Search Query:
When you try to perform a search, SharePoint pulls the search records by querying the search service. When the communication happens outside the front end web servers boundary at that point the Application pool account comes into action for the remote communication with the search service and indexed database.  


Problem Definition:
In the actual farm configuration I've been so lazy in creating the full set of service accounts that I ended up setting the front end web application using the network service accounts. This account might work with search if everything is in the same box but if you are on 3 tier architecture then you would need to create the service account for the search configuration. Please follow the following guide lines. This will put you in the right direction. 


Solution:
Change the web application 'app pool' account(hosting the search centre) to domain\{accountname} which has the sufficient privileges to access the search server and search/index databases. 


Hope this will be useful....


Majid

No comments:

Iconise ‘Add Picture’ control in PowerApps

Default look you get for ‘Add Picture’ control is not very appealing for end user and there is no OTB way of specifying icon for this con...