none
Error Trying to Delete Search Service Application in SharePoint 2010

Answers

  • I am unable to delete the search service application through central administration, stsadm or powershell.  Error message I get is "The timer job completed, but failed on one or more machines ni the farm.  I even ran a repair of my sharepoint install.  I don't know what else to try.  Help would be greatly appreciated.
    • Marked as answer by CindyKF Thursday, July 14, 2011 7:21 PM
    Thursday, July 07, 2011 7:35 PM

All replies

  • I would use an STSADM command as that has proven to be more reliable when the search service becomes corrept.  Here is the syntax:

    stsadm -o deleteconfigurationobject -id "service app ID"

    To get the service application ID, use the SharePoint Console (powershell)

    Get-SPServiceApplication |?{$_.name -eq "Search Service Application"}

     

    I hope that helps!

    Jeff DeVerter, MCSE
    Rackspace
    blog:http://www.social-point.com
    twitter: http://www.twitter.com/jdeverter

     


    Jeff DeVerter
    Wednesday, July 06, 2011 9:12 PM
  • I am getting an error in power shell when I type that command to get the ID

     

    format-default : Exception has been thrown by the target of an invocation.

    + CategoryInfo     :  NotSpecified:  (:) [format-default], TargetInvocationException

    + FullyQualifiedErrorId : System.Reflection.TargetInovcationException,Microsoft.PowerShe3ll.Commands.FormatDefaultCommand

    Thursday, July 07, 2011 1:44 PM
  • I got the command to work, however, I am even getting the error "The timer job completed, but failed on one or machines in the farm." with stsadm command.
    Thursday, July 07, 2011 2:11 PM
  • I am unable to delete the search service application through central administration, stsadm or powershell.  Error message I get is "The timer job completed, but failed on one or more machines ni the farm.  I even ran a repair of my sharepoint install.  I don't know what else to try.  Help would be greatly appreciated.
    • Marked as answer by CindyKF Thursday, July 14, 2011 7:21 PM
    Thursday, July 07, 2011 7:35 PM
  • This actually worked for me. I previously tried

    Powershell

    Remove-SPEnterpriseSearchServiceApplication -Identity "Search Service Application" -Confirm
    

    but it ran and ran... with no result. then I ran the command prompt as administrator. navigated to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN (where stsadm.exe is located) and ran:

    stsadm -o deleteconfigurationobject -id effb0676-58d1-4e61-8a72-e589f1e4e968


    Within minutes the respos was "Operation completed successfully". my original error was: Event ID 6482

    Log Name:      Application
    Source:        Microsoft-SharePoint Products-SharePoint Server
    Date:          9/1/2011 3:33:20 PM
    Event ID:      6482
    Task Category: Shared Services
    Level:         Error
    Keywords:      
    User:          domain\user -> censored
    Computer:      servername -> censored
    Description:
    Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (978f3f7c-c66f-407f-886b-2cce2685b86e).
    
    Reason: Object 80bc8a6b-451e-4e97-acbc-f0f7c6ffe749 not found.
    
    Technical Support Details:
    Microsoft.Office.Server.Search.Administration.DeletedConcurrencyException: Object 80bc8a6b-451e-4e97-acbc-f0f7c6ffe749 not found. ---> System.Collections.Generic.KeyNotFoundException: Object 80bc8a6b-451e-4e97-acbc-f0f7c6ffe749 not found.
       at Microsoft.Office.Server.Search.Administration.SearchApi.get_App()
       at Microsoft.Office.Server.Search.Administration.SearchApi.<>c__DisplayClass39.<DisableCrawlComponent>b__36()
       at Microsoft.Office.Server.Search.Administration.SearchApi.RunVoidOnServer(VoidCodeToRun remoteCode, VoidCodeToRun localCode, Boolean useCurrentSecurityContext, Int32 versionIn)
       --- End of inner exception stack trace ---
       at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
       at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-SharePoint Products-SharePoint Server" Guid="{C33B4F2A-64E9-4B39-BD72-F0C2F27A619A}" />
        <EventID>6482</EventID>
        <Version>14</Version>
        <Level>2</Level>
        <Task>3</Task>
        <Opcode>0</Opcode>
        <Keywords>0x4000000000000000</Keywords>
        <TimeCreated SystemTime="2011-09-01T22:33:20.280423000Z" />
        <EventRecordID>248940</EventRecordID>
        <Correlation ActivityID="{F865ADBF-AC7D-4339-B859-F045347BFE21}" />
        <Execution ProcessID="4172" ThreadID="7812" />
        <Channel>Application</Channel>
        <Computer>"server name"</Computer>
        <Security UserID="some number" />
      </System>
      <EventData>
        <Data Name="string0">Microsoft.Office.Server.Search.Administration.SearchServiceInstance</Data>
        <Data Name="string1">978f3f7c-c66f-407f-886b-2cce2685b86e</Data>
        <Data Name="string2">Object 80bc8a6b-451e-4e97-acbc-f0f7c6ffe749 not found.</Data>
        <Data Name="string3">Microsoft.Office.Server.Search.Administration.DeletedConcurrencyException: Object 80bc8a6b-451e-4e97-acbc-f0f7c6ffe749 not found. ---&gt; System.Collections.Generic.KeyNotFoundException: Object 80bc8a6b-451e-4e97-acbc-f0f7c6ffe749 not found.
       at Microsoft.Office.Server.Search.Administration.SearchApi.get_App()
       at Microsoft.Office.Server.Search.Administration.SearchApi.&lt;&gt;c__DisplayClass39.&lt;DisableCrawlComponent&gt;b__36()
       at Microsoft.Office.Server.Search.Administration.SearchApi.RunVoidOnServer(VoidCodeToRun remoteCode, VoidCodeToRun localCode, Boolean useCurrentSecurityContext, Int32 versionIn)
       --- End of inner exception stack trace ---
       at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
       at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)</Data>
      </EventData>
    </Event>
    

     

     

     

    Thursday, September 01, 2011 10:41 PM
  • I was having the same problem, and when i use: stsadm -o deleteconfigurationobject -id effb0676-58d1-4e61-8a72-e589f1e4e968, it still give me the same problem. So i decided to try other solution: 

    I stop the SharePoint 2010 Timer Service, put other user (one user that i created in my domain with rights for the Database Server in the farm) and restart the services.

    Then i try the solution stsadm -o deleteconfigurationobject -id effb0676-58d1-4e61-8a72-e589f1e4e968 

    And Works perfect. 

    Friday, March 23, 2012 7:43 PM