Configuration Wizard fails to register SharePoint Server Search 14 service: The handle is invalid
-
2009年11月24日 9:00Hi all,
I'm trying to install SP2010 on Windows Server 2008 R2 Enterprise.
The installation completes Ok and SharePoint Products Configuration Wizard runs then.
It fails on step 5 while registering SharePoint Server Search service with the following error message:
An exception of type System.ServiceProcess.TimeOutException was thrown.
In the log file I can see the following Exception details:
11/24/2009 10:36:50 12 INF Calling SPServiceInstance.Provision for instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance, service Microsoft.Office.Server.Search.Administration.SearchService
11/24/2009 10:38:22 12 ERR Task services has failed with an unknown exception
11/24/2009 10:38:22 12 ERR Exception: System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
at Microsoft.SharePoint.Win32.SPAdvApi32.StartService(String strServiceName)
at Microsoft.SharePoint.Administration.SPWindowsServiceInstance.Start()
at Microsoft.SharePoint.Administration.SPWindowsServiceInstance.Provision(Boolean start)
at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Provision()
at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstanceInConfigDB(Boolean provisionTheServiceInstanceToo, String serviceInstanceRegistryKeyName, Object sharepointServiceObject)
at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstances(Boolean provisionTheServiceInstancesToo, String serviceRegistryKeyName, Object sharepointServiceObject)
at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo)
at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
When I open the services mmc and trying to start "SharePoint Server Search 14" service manually, it fails to start with "The handle is invalid" error message.
I've formated this PC and reinstalled OS from scratch. Then tried to install SP2010 again, but got the same result. Is there any known issue with installing SP2010 on Server 2008 R2 ?
BTW, I install AD domain services on this server before running SP2010 installation.
Any assistance would be greatly appreciated.
Thanks, Michael
全部回复
-
2009年11月24日 10:00Hi Michael,
Have you applied the WCF fix https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=23806&wa=wsignin1.0 ?
Blog: Alpesh Nakar's Blog | Twitter: Follow Alpesh on Twitter |SharePoint Resources: Just SharePoint Resource Center | Follow Just SharePoint updates on Twitter -
2009年11月24日 10:30Hi,I've installed this patch, but after the SharePoint 2010 has been installed.So actually I have the following installation sequence:- Server 2008 R2- AD Domain services- SP2010- KB976462- SharePoint Configuration WizardThe problem is existing. Should I reinstall my environment and apply the KB-patch before installing SP2010? Is it critical?
Thanks, Michael -
2009年11月24日 10:38Yes please. Install OS, AD, patch. Restart. Pre-req installer...
Let me know how you go with this
Blog: Alpesh Nakar's Blog | Twitter: Follow Alpesh on Twitter |SharePoint Resources: Just SharePoint Resource Center | Follow Just SharePoint updates on Twitter -
2009年11月24日 14:54Hi,
I've just accomplished the complete re-installation and got the same problem :(((
The configuration wizard fails on step 5 with the Server Search service registration timeout.
Any additional ideas?
Thanks, Michael -
2009年11月24日 16:19
What is the memory size you give to the machine? Most of the time this error is caused by low memory.
-
2009年11月24日 18:12Hi Jie Li,
It's a phisical machine (not VM) with 4GB of RAM.
BTW, I followed the steps you've provided exactly, but still got failures.
I've worked around this issue by unregistering the problematic services (just deleted the following Reg entries), but I cannot define it as a solution.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\Microsoft.Office.Server.Search.Administration.SearchService]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\Microsoft.SharePoint.Search.Administration.SPSearchService]
If you need an additional info, I can reproduce the problem (again and again) and collect any necessary details.
Thanks, Michael -
2009年12月16日 14:32
Hello all,
I got the same problem and I did all what was mentioned:
and still did not work:
- Install the Fix
- Delete the registry keys.
- Reinstall SharePoint
Here is a workaround:
When you get the message "Successfully provisioned SharePoint Server Search":
Open the services management console (from Run command windows type services.msc)
Locate SharePoint Server Search
Change the logon account to Local Service and run the service
Worked like a charm!!
Do the same for SharePoint Foundation Search service.
This was inspired from http://bit.ly/5AvMzA
BR,
Mohamed Yehia- 已建议为答案 rarmstrong1972 2010年1月6日 19:42
- 已标记为答案 MishaSoft 2010年1月11日 22:28
-
2010年1月6日 19:43Thanks Mohamed,
Good work - it worked like a charm....
Ron -
2010年1月11日 20:45You are AWESOME!! However i ended up using Local System and changed it to start Automatic. Never would have figured this out on my own. Thanks again.
-
2010年1月13日 2:49Mohamed,
Thank you for this tip!! Saved me a TON of time -
2010年2月9日 13:59This also worked for me, thanks. However I have to switch account to Local System like Profezza X reffers. Maybe problem is caused by installing on AD controller machine (this was my configuration)...
No fix or reinstallation needed at all. -
2010年2月10日 11:07I had the same problem with SP2010 RC.
Now it works!
I install it on an R2008R2 Server, VM, 6GB Memory, AD, SQL 2008 SP1 -
2010年4月1日 9:57
Thanks a lot!
By changing the service account for both the services: SharePoint Search and Foundation Search into: local system instead of local services and starting both services during installtion the config wizard ran through!!!!!
-
2010年7月15日 0:14
You can set the service account for Sharepoint Services through SP2010 Central Admin - see this page:
http://blogs.msdn.com/b/russmax/archive/2010/01/08/changing-sharepoint-2010-service-accounts.aspx
The end result is that the log on account for the 'Sharepoint Server Search 14' changes to the account you specify (which you could do directly through services) but I am fairly sure that Sharepoint would also store/set this in other places, eg the Config database, possibly the registry.
Hope this helps!
Peter

