Showing posts with label Error. Show all posts
Showing posts with label Error. Show all posts

Thursday, January 14, 2010

SharePoint Search Services Error HRESULT: 0x80040D1B

You might facing an issue when clicking the Search Settings in your SSP:
Exception from HRESULT: 0x80040D1B at Microsoft.SharePoint.Portal.Search.Admin.Pages.SearchAdminPageBase.ErrorHandler(Object sender, EventArgs e) at Microsoft.SharePoint.Portal.Search.Admin.Pages.SearchSSPAdminPageBase.OnError(EventArgs e) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP._layouts_searchsspsettings_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

In order to solve this issue you will need to do the following:

  1. Make sure to add the service account to the local SharePoint backup operators group on all SharePoint servers.

  2. Set your service name principle account for your SSP on your SharePoint application server. In order to complete this operation you must install Window support tools. Run these commands and all SharePoint web servers:
    setspn.exe -A HTTP/sharepointsite domain\service account
    setspn.exe -A HTTP/sharepoint.domainname site domain\service account

    (Make sure you have the right privileges to run the setspn.exe, usually you will need the domain admin)

  3. On Central administration - Operations - Services on Server
    Stop Office SharePoint Server Search.

  4. Then go to Central administration - Operations - Service accounts.
    Click on web application pool.
    Under web service choose Windows SharePoint Service Web application.
    Under application pool, choose your Shared Service Provider application pool account.
    Re-enter your password and click ok.

  5. Do iisrest in all SharePoint servers.

  6. In Central administration - Operations - Services on Server
    Restart your Office Server Search.

  7. In Central administration - Application Management - Create or configure Farm's Shared Services.
    In the default SSP and click edit properties.
    In the SSP service credentials enter username and password.
    In the index server category select your index server and then click ok.
    Make sure you wait about 5 minutes. (You need to do this for all SSPs)

Good luck...

Liron