Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Search Service not working

189 views
Skip to first unread message

Brian Farnhill

unread,
Nov 6, 2007, 5:36:03 PM11/6/07
to
Hello,

I'm having some issues with my SharePoint server at the moment, in regards
to search.

Basically we tried to put some patches onto our sharepoint box, we didnt
like it, so we rolled back a ghost image that we took right before the
patches went on, so in theory everything should have gone back to being the
way it was.

Anyway everything looks to be fine, except the search service wont work
properly. I am getting the following errors in my event log:

Application Server Administration job failed for service instance
Microsoft.Office.Server.Search.Administration.SearchServiceInstance
(51f911ae-54c4-4869-ad7b-ac3e82d7dad5).

Reason: The database connection string is not available.

Techinal Support Details:
System.Runtime.InteropServices.COMException (0xC0041228): The database
connection string is not available.
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.AddApp(Role
role)
at
Microsoft.Office.Server.Search.Administration.SearchServiceInstance.InstallGathererApplicationIf()
at
Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
at
Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)


and this one ...


The database connection string is not available.

Context: Application 'abf7b70e-c5c4-4b4e-a3ce-3bed5e8bde96'

When I go to the SSP search settings page I get "The search service is
currently offline. Visit the Services on Server page in SharePoint Central
Administration to verify whether the service is enabled. This might also be
because an indexer move is in progress." but when I check the services on
server page in the central administration site I can see that the service is
running.

I'm not sure what could be causing this, I have restarted services and this
still happens. Any help with this would be great.

Thanks in advance

- Brian Farnhill

Ameet Phadnis(e Tek Global Inc.)

unread,
Nov 7, 2007, 11:58:02 AM11/7/07
to
Can you go to SharedServices Page from Central Administration?
--
Ameet Phadnis
Sr. Technical Consultant
e Tek Global Inc.
ASP Alliance Author Page: http://aspalliance.com/author.aspx?uId=44260

Brian Farnhill

unread,
Nov 7, 2007, 3:12:00 PM11/7/07
to
Yes, I can get to the Share Services page, its when I follow the link on the
SSP page to search settings that I get that error below:

"The search service is currently offline. Visit the Services on Server page
in SharePoint Central Administration to verify whether the service is
enabled. This might also be because an indexer move is in progress."

Ameet Phadnis(e Tek Global Inc.)

unread,
Nov 7, 2007, 4:10:01 PM11/7/07
to
Go to central administration and then to operations
Under Toplogy and Services click on Services on Server.
In this page check if the WSS Search is started.

Brian Farnhill

unread,
Nov 7, 2007, 4:15:05 PM11/7/07
to
Yes it is running, I have also tried stopping and starting the service again
but ended up with the same result (after I go back into the SSP search
settings page it asked me to associate an indexer with that SSP, then I would
select the indexer and then when I go back in it left me with the same
result).

zullu

unread,
Nov 13, 2007, 1:40:01 PM11/13/07
to
Even I have the same issue with the same message.
Only difference is that I am working on a VPC and did not fiddle around with
any image backups etc.
Any help !!
Thanks in advance.

Brian Farnhill

unread,
Nov 13, 2007, 2:53:04 PM11/13/07
to
Thats no good, I still haven't been able to figure this one out yet, although
I must admit I haven't given it a lot of time this week - I am thinking about
re-creating the Shared Service Provider or something maybe, I don't know :-(

gopikri...@gmail.com

unread,
Nov 19, 2007, 11:09:35 AM11/19/07
to
On Nov 13, 11:53 am, Brian Farnhill
> > > > > > > Microsoft.Office.Server.Search.Administration.SearchApi.RunOnServer[T](Code-ToRun`1

> > > > > > > remoteCode, CodeToRun`1 localCode, Boolean useCurrentSecurityContext, Int32
> > > > > > > versionIn)
> > > > > > > at Microsoft.Office.Server.Search.Administration.SearchApi.AddApp(Role
> > > > > > > role)
> > > > > > > at
> > > > > > > Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Install-GathererApplicationIf()
> > > > > > > at
> > > > > > > Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchro-nize()
> > > > > > > at
> > > > > > > Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalS-haredServiceInstances(Boolean isAdministrationServiceJob)

>
> > > > > > > and this one ...
>
> > > > > > > The database connection string is not available.
>
> > > > > > > Context: Application 'abf7b70e-c5c4-4b4e-a3ce-3bed5e8bde96'
>
> > > > > > > When I go to the SSP search settings page I get "The search service is
> > > > > > > currently offline. Visit the Services on Server page in SharePoint Central
> > > > > > > Administration to verify whether the service is enabled. This might also be
> > > > > > > because an indexer move is in progress." but when I check the services on
> > > > > > > server page in the central administration site I can see that the service is
> > > > > > > running.
>
> > > > > > > I'm not sure what could be causing this, I have restarted services and this
> > > > > > > still happens. Any help with this would be great.
>
> > > > > > > Thanks in advance
>
> > > > > > > - Brian Farnhill- Hide quoted text -
>
> - Show quoted text -

Brain,
I am also facing exactly the same problem,
when I go to SSP---->Search settings I am gettign the error message

"The search service is currently offline. Visit the Services on Server
page in SharePoint Central Administration to verify whether the
service is enabled. This might also be because an indexer move is in
progress"

had you resolved this issue sir?
Thanks In Advance

Regards
Gopi

Brian Farnhill

unread,
Nov 21, 2007, 5:29:00 PM11/21/07
to
No luck resolving this one yet - I have been playing around with it this
morning and after stopping the services on the server I am now unable to
start the search service again. On the services on server page I can see the
"Windows SharePoint Services Search" service is stopped, and when i click on
start and give it the credentials of a domain account that is in the local
admin group of the server (exactly what it was while it was working) and the
name of a new database it sits there processing for a while and comes back
with an error of "File not found".

Anyone know what could be causing this?

Brian Farnhill

unread,
Nov 21, 2007, 6:36:00 PM11/21/07
to
OK I got it, I started the service using the credentials of a local
administrator account on the server, as opposed to the domain account that is
in the administrators group. So here is what I did

1. Stop the search services on the search on server page
2. Start them again (They would only start with the local admin acocunt)
3. Assign the indexer to the SSP in the settings page for the SSP
4. Start a new crawl over all your content

Given that I am now using a local account to index content, I had to put
that account into the site collection administrators group so it could see
everything. I know thats not good practice, but seeing as for me its only on
a test box Im not too fussed.

If this helps anyone figure out a better solution, let me know!

d.mal...@gmail.com

unread,
Dec 5, 2007, 5:29:56 AM12/5/07
to
Hello everybody.

We had this problem, proxy autodetection was causing it. editing
webconfig in SSP site helped.

<defaultProxy>
<proxy autoDetect="true" />
</defaultProxy>

changed to

<defaultProxy>
<proxy autoDetect="false" />
</defaultProxy>

Regards,

Dmitrij

As far as we can understand this is to do with Office search, not
WSS.

On Nov 22, 1:36 am, Brian Farnhill


<BrianFarnh...@discussions.microsoft.com> wrote:
> OK I got it, I started the service using the credentials of a local
> administrator account on the server, as opposed to the domain account that is
> in the administrators group. So here is what I did
>
> 1. Stop the search services on the search on server page
> 2. Start them again (They would only start with the local admin acocunt)
> 3. Assign the indexer to the SSP in the settings page for the SSP
> 4. Start a new crawl over all your content
>
> Given that I am now using a local account to index content, I had to put
> that account into the site collection administrators group so it could see
> everything. I know thats not good practice, but seeing as for me its only on
> a test box Im not too fussed.
>
> If this helps anyone figure out a better solution, let me know!
>
> "Brian Farnhill" wrote:
> > No luck resolving this one yet - I have been playing around with it this
> > morning and after stopping the services on the server I am now unable to
> > start the search service again. On the services on server page I can see the
> > "Windows SharePoint Services Search" service is stopped, and when i click on
> > start and give it the credentials of a domain account that is in the local
> > admin group of the server (exactly what it was while it was working) and the
> > name of a new database it sits there processing for a while and comes back
> > with an error of "File not found".
>
> > Anyone know what could be causing this?
>

0 new messages