?
Solved

Sharepoint 2007 - Start MS Office Search Service Fails

Posted on 2010-03-23
2
Medium Priority
?
1,669 Views
Last Modified: 2012-05-09
Hi there,

I'm doing an installation of Microsoft SharePoint 2007 on a three server farm.  I have one back end database server, a front end server and one I plan on usiing for indexing.

The web server was the first server to be installed on the farm and the index server was the second.  I have installed the full product on both.  All is fine on the web server however when I try to start the MS Office Search Server from the second box I get an error.

"An unhandled exception occurred in the user interface.Exception Information: Could not connect to server <SERVER>. 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. "

As the central admin site is running on the web server I took a closer look at the logs and found the following: (See Code Below)

Effectivly from what I can see one of the services on one of the servers is trying to get out via the proxy which we have which is stopping it getting to the index server.

I have logged in as all service accounts of both machines and set the proxy settings in IE to no proxy and removed the automatically detect box as well.  These settings stick and all looks fine but I still can get no joy starting this service on my machine.

The two boxes in question are Windows 2008 x64 R2 machines.

Has anyone ever seen anything like this before?  

I have tried a number of things to get roud this, manually specifying the IIS application pool credentials, using different user accounts but I just can't get any joy.

I look forward  to your responses!



03/23/2010 14:34:57.07 	w3wp.exe (0x0A70)                       	0x0A2C	ULS Logging                   	Unified Logging Service       	8pbf	Medium  	Not reporting 837w to Watson because the appropriate timespan hasn't passed	 
03/23/2010 14:34:57.16 	w3wp.exe (0x0A70)                       	0x03C4	Search Server Common          	MS Search Administration      	86z7	High    	Configuring the Search admin web service proxy Url to 'http://hs-spse01:56737/SearchAdmin.asmx'.	 
03/23/2010 14:34:57.18 	w3wp.exe (0x0A70)                       	0x03C4	Search Server Common          	MS Search Administration      	86ze	High    	Exception caught in Search Admin web-service proxy (client). System.Net.WebException: The request failed with HTTP status 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied.  ).     at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)     at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)     at Microsoft.Office.Server.Search.Administration.SearchWebServiceProxy.RunWithSoapExceptionHandling[T](String methodName, Object[] parameters)	 
03/23/2010 14:34:57.18 	w3wp.exe (0x0A70)                       	0x03C4	Search Server Common          	MS Search Administration      	0	High    	SearchServiceInstanceSettings.Page_Init threw exception: 'System.Net.WebException: The request failed with HTTP status 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied.  ).     at Microsoft.Office.Server.Search.Administration.SearchApi.RunOnServer[T](CodeToRun`1 remoteCode, CodeToRun`1 localCode, Boolean useCurrentSecurityContext, Int32 versionIn)     at Microsoft.Office.Server.Search.Administration.SearchApi.RunOnServer[T](CodeToRun`1 remoteCode, CodeToRun`1 localCode)     at Microsoft.Office.Server.Search.Internal.UI.SearchServiceInstanceSettings.Page_Init(Object sender, EventArgs e)'.	 
03/23/2010 14:34:57.18 	w3wp.exe (0x0A70)                       	0x03C4	ULS Logging                   	Unified Logging Service       	872l	Medium  	Not reporting to Watson because the appropriate timespan hasn't passed	 
03/23/2010 14:34:57.18 	w3wp.exe (0x0A70)                       	0x03C4	Office Server                 	Office Server General         	837w	Exception	Unhandled page level exception. Path: /_admin/SearchServiceInstanceSettings.aspx, Error: Could not connect to server HS-SPSE01. 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., Details: Microsoft.SharePoint.SPException: Could not connect to server HS-SPSE01. 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.     at Microsoft.Office.Server.Search.Internal.UI.SearchServiceInstanceSettings.Page_Init(Object sender, EventArg...	 
03/23/2010 14:34:57.18*	w3wp.exe (0x0A70)                       	0x03C4	Office Server                 	Office Server General         	837w	Exception	...s e)     at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)     at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)     at System.Web.UI.Control.OnInit(EventArgs e)     at System.Web.UI.Page.OnInit(EventArgs e)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Microsoft.SharePoint.SPException: Could not connect to server HS-SPSE01. 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.     at...	 
03/23/2010 14:34:57.18*	w3wp.exe (0x0A70)                       	0x03C4	Office Server                 	Office Server General         	837w	Exception	... Microsoft.Office.Server.Search.Internal.UI.SearchServiceInstanceSettings.Page_Init(Object sender, EventArgs e)     at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)     at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)     at System.Web.UI.Control.OnInit(EventArgs e)     at System.Web.UI.Page.OnInit(EventArgs e)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)	 
03/23/2010 14:34:57.18 	w3wp.exe (0x0A70)                       	0x03C4	ULS Logging                   	Unified Logging Service       	8pbf	Medium  	Not reporting 837w to Watson because the appropriate timespan hasn't passed

Open in new window

0
Comment
Question by:Jase_x
  • 2
2 Comments
 

Author Comment

by:Jase_x
ID: 28427313
Also I notice that I can start the service on the first web server but not the second.  I have done a complete install just to make sure but to no avail.  Does anyone know which part of SharePoint would be looking for this proxy server?
0
 

Accepted Solution

by:
Jase_x earned 0 total points
ID: 28454534
Never mind I appear to have fixed it.  For further reference if you find that you cannot start the search service on a second SharePoint server in your farm and you have ISA running you can edit the web.config file used to configure the Sharepoint Central Administration Service and add the following section under <system.net>

     <proxy
          usesystemdefault = "false"
          proxyaddress="http://servernameorip:port"
          bypassonlocal = "true"

     />
<bypasslist>
  <add address = "[a-z]+\.test\.internal" />
  <add address = "10\.0\..*" />

</bypasslist>
</defaultProxy>

Where obviously you can change your exceptions and proxy server address to suit.

Hope this helps someone who is stuck in the same position as me!
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…

594 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question