Wednesday, February 25, 2009

Failed to register SharePoint Services

When we run Windows SharePoint Products and Technologies Configuration Wizardduring installation, it failed and displayed error "Failed to registerSharePoint Services.An exception of the System.Runtime.InteropServices.COMException was thrown.Additional exception information: Could not access the Search serviceconfiguration database.
The cause and solution:
I looked at the log file, found that the process stopped at STEP 5Calling SPServiceInstance.Provision for instanceMicrosoft.SharePoint.Search.Administration.SPSearc hServiceInstance, serviceMicrosoft.SharePoint.Search.Administration.SPSearc hServiceI did this following steps and the configuration finished successfully.
1. On the Start menu, click Run. In the Open box, type regedit and thenclick OK.
2. In the Registry Editor, navigate to the following subkey, and then deleteit:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web ServerExtensions\12.0\WSS\Services\Microsoft.SharePoint. Search.Administration.SPSearchService
3. Run the SharePoint Products and Technologies Configuration Wizard again.

4 comments:

  1. Thanks,It has worked for me.I have installed windows 2008 r2 64 Bit. After installing sharepoint 2010 foundations beta , during configuration I have received timeout for search web service. I have removed the registry key and able to move further.

    Thanks for neat and to the point tip.

    ReplyDelete
  2. i did delete the subkey of the registry, but i still have the sam error.

    what should i do then?

    Please help, me

    ReplyDelete
  3. Hi Acha,
    In which step you are getting the error? The same error in step 5.
    Can you please remove the sub key again. And restart the system. Then try to run wizard. Before running wizard once again please confirm that subkey is deleted or not created.

    ReplyDelete