SharePoint Developer Center > SharePoint Products and Technologies Forums > SharePoint - Search > Starting the “Office SharePoint Search Service” issue
Ask a questionAsk a question
 

AnswerStarting the “Office SharePoint Search Service” issue

  • Friday, November 06, 2009 2:29 PMAhmed Madany Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    While Starting the “Office SharePoint Search Service” using WFE2.the error as the following:-
       
     
    An unhandled exception occurred in the user interface.Exception Information: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
    The request failed with the error message:
    --
    <?xml version="1.0" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
       <title>Server Unavailable
    </title>
       </head>
       <body>
          <h1><span style="font-family:Verdana;color: #ff3300">Server Application Unavailable
    </span></h1>
          <p>
           <span style="font-family:Verdana;">
            The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request.
    </span></p>
       <p>
       Administrator Note:
     An error message detailing the cause of this specific request failure can be found in the application event log of the web server.  Please review this log entry to discover what caused this error to occur.
     </p>
       </body>
    </html>

    --.

    Troubleshoot issues with Windows SharePoint Services.

    •  

Answers

  • Tuesday, November 10, 2009 6:58 AMLu Zou-MSFTMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi Ahmed Madany,

     

    Please click “Start”à “Run” and enter “services.msc” to open services console. Check that if you have “Office SharePoint Search Service” there. If you don’t have this service installed on this server, it means that probably you chose “WFE” mode when you install SharePoint on this machine. When you install SharePoint in this mode, by default the “Office SharePoint Search Service” will not be installed. That’s why you can’t start this service in Central Administration web site.

     

    If you have this service in Services console, you can try to run the command below:

    1)    C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin>
    stsadm -o provisionservice -action stop -servicetype
    "Microsoft.Office.Server.Search.Administration.SearchService,
    Microsoft.Office.Server.Search, Version=12.0.0.0, Culture=neutral,
    PublicKeyToken=71e9bce111e9429c" -servicename osearch

    2)    Run the following command
    C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin>
    psconfig -cmd upgrade -inplace -b2b -force –wait

    3)    Reboot the server to make the SharePoint services restart

     

    For more information, please refer to:

    Provisionservice: Stsadm operation

    http://technet.microsoft.com/en-us/library/cc288605.aspx

     

    Hope this helps.

     

    Lu Zou

All Replies

  • Friday, November 06, 2009 3:41 PMYogesh Shetty- A SharePoint Geek Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Ahmed,

    It look like NTFS permission on the Office Server Web Services website files. By default these files are located at C:\Program Files\Microsoft
    Office Servers\12.0\WebServices\Root.

    Just check which account is running the application pool for the Office Server Web Services (Network Service by default) and then grant this account Read, List Folder Contents on the Root folder as well as the  files within it and also Reset IIS


    Regards,
    Yogesh.
  • Sunday, November 08, 2009 2:02 PMAhmed Madany Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    i've checked the account  running the application pool for the Office Server Web Services (Network Service ),the account  have Read, List Folder Contents on the Root folder.
    but there are new error appear

    "An unhandled exception occurred in the user interface.Exception Information: Could not connect to server WEBFRONT02. This error might occur if the server is not responding to client requests, the firewall or proxy configuration is preventing the server from being contacted, or the search administration Web service is not running on the affected server. "
  • Monday, November 09, 2009 10:51 AMYogesh Shetty- A SharePoint Geek Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Ahmed,

    It look there is issue while connecting to search service between servers. To resolve this issue, followed Kb article http://support.microsoft.com/kb/962928

    Please let me know, if it helps.

    Thanks,
    Yogesh.
  • Tuesday, November 10, 2009 6:58 AMLu Zou-MSFTMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi Ahmed Madany,

     

    Please click “Start”à “Run” and enter “services.msc” to open services console. Check that if you have “Office SharePoint Search Service” there. If you don’t have this service installed on this server, it means that probably you chose “WFE” mode when you install SharePoint on this machine. When you install SharePoint in this mode, by default the “Office SharePoint Search Service” will not be installed. That’s why you can’t start this service in Central Administration web site.

     

    If you have this service in Services console, you can try to run the command below:

    1)    C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin>
    stsadm -o provisionservice -action stop -servicetype
    "Microsoft.Office.Server.Search.Administration.SearchService,
    Microsoft.Office.Server.Search, Version=12.0.0.0, Culture=neutral,
    PublicKeyToken=71e9bce111e9429c" -servicename osearch

    2)    Run the following command
    C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin>
    psconfig -cmd upgrade -inplace -b2b -force –wait

    3)    Reboot the server to make the SharePoint services restart

     

    For more information, please refer to:

    Provisionservice: Stsadm operation

    http://technet.microsoft.com/en-us/library/cc288605.aspx

     

    Hope this helps.

     

    Lu Zou