Exception calling "Activate" with "0" argument(s): "Topology does not contain any components of type Microsoft.Office.Server.Search.Administration.Topology.AdminComponen

Hi,
I have a Sharepoint 2013 farm I am trying to provision search for (not the same as my other thread). However, I get the below error:
Exception calling "Activate" with "0" argument(s): "Topology does not contain any components of type Microsoft.Office.Server.Search.Administration.Topology.AdminComponent"
In my script, I have the following:
New-SPEnterpriseSearchAdminComponent -SearchTopology $clone  -SearchServiceInstance $SearchServiceInstanceServer3 -ErrorAction SilentlyContinue
So I am not sure why the error happens, when I am trying to set this component. However, it's not the first component to be set (index partition on non-local servers first). I can make it first, but why does this error happen?
UPDATE: I have noticed that the usage and health proxy on my farm is/was stopped, but I am not able to access the server(s) to look at this right now. Could this cause this issue?

Do you already have Admin component running for the Search Service Application?
Usage and Health Service will not cause this issue.
Please also refer to below discussion to see if it helps:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/02f0b072-aa3a-4b7f-9662-2caf373d1e57/setspenterprisesearchtopology-identity-newtopology?forum=sharepointgeneral
Warm Regards,
Bhavik K Jain
Sr. Software Engineer - SharePoint Administration
Please vote if my reply helps and ensure that you mark a question as Answered once you receive a satisfactory response.

Similar Messages

  • Exception calling "Update" with "0" argument(s): "To add an item to a document library, use SPFileCollection.Add()"

    Hi i am trying to add a new item and update existing field value in a document library with powershell 
    but i receive below error message.
    PS C:\Users\spfarm> C:\Scripts\add.ps1
    Exception calling "Update" with "0" argument(s): "To add an item to a document
    library, use SPFileCollection.Add()"
    At C:\Scripts\add.ps1:24 char:16
    + $newItem.Update <<<< ()
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : DotNetMethodException
    #Add SharePoint PowerShell Snapin which adds SharePoint specific cmdlets
    Add-PSSnapin Microsoft.SharePoint.PowerShell -EA SilentlyContinue
    #Variables that we are going to use for list editing
    $webURL = "http://tspmcwfe:89"
    $listName = "test"
    #Get the SPWeb object and save it to a variable
    $web = Get-SPWeb $webURL
    #Get the SPList object to retrieve the "Demo List"
    $list = $web.Lists[$listName]
    #Create a new item
    $newItem = $list.Items.Add()
    #Add properties to this list item
    $newItem["Title"] = "My second item!"
    $newItem["Info"] = "s15"
    #Update the object so it gets saved to the list
    $newItem.Update()
    $web.Dispose()
    adil

    Hi Adil,
    Document Library is different from a normal list. The document library contains files inside it. You need to update the code to add a document to the library. Then you can get hold of the List Item represented by that file and update its properties. Here
    is an example:
    $WebURL = "http://aissp2013/sites/TestSite"
    $DocLibName = "Docs" 
    $FilePath = "c:\blogs.txt" 
    # Get a variable that points to the folder 
    $Web = Get-SPWeb $WebURL 
    $List = $Web.GetFolder($DocLibName) 
    $Files = $List.Files
    # Get just the name of the file from the whole path 
    $FileName = $FilePath.Substring($FilePath.LastIndexOf("\")+1)
    # Load the file into a variable 
    $File= Get-ChildItem $FilePath
    # Upload it to SharePoint 
    $spFile = $Files.Add($DocLibName +"/" + $FileName,$File.OpenRead(),$false) 
    $item = $spFile.Item
    $item["Title"] = "New Title"
    $item.Update()
    $web.Dispose()
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • System.Management.Automation.MethodInvocationException: Exception calling "ExecuteQuery" with "0" argument(s): "$Resources:core,ImportErrorMessage;" --- Microsoft.SharePoint.Client. ServerException: $Resources:core,ImportErrorMessage;

    Hi,
    I am getting an error  System.Management.Automation.MethodInvocationException: Exception calling "ExecuteQuery" with "0" argument(s): "$Resources:core,ImportErrorMessage;" ---> Microsoft.SharePoint.Client. ServerException:
    $Resources:core,ImportErrorMessage;
    Following is my powershell script on line
    $context.ExecuteQuery(); it is throwing this error.
    function AddWebPartToPage([string]$siteUrl,[string]$pageRelativeUrl,[string]$localWebpartPath,[string]$ZoneName,[int]$ZoneIndex)
        try
        #this reference is required here
        $clientContext= [Microsoft.SharePoint.Client.ClientContext,Microsoft.SharePoint.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c]
        $context=New-Object Microsoft.SharePoint.Client.ClientContext($siteUrl)
        write-host "Reading file " $pageRelativeUrl
        $oFile = $context.Web.GetFileByServerRelativeUrl($pageRelativeUrl);
        $limitedWebPartManager = $oFile.GetLimitedWebPartManager([Microsoft.Sharepoint.Client.WebParts.PersonalizationScope]::Shared);
        write-host "getting xml reader from file"
        $xtr = New-Object System.Xml.XmlTextReader($localWebpartPath)
         [void] [Reflection.Assembly]::LoadWithPartialName("System.Text")
        $sb = new-object System.Text.StringBuilder
             while ($xtr.Read())
                $tmpObj = $sb.AppendLine($xtr.ReadOuterXml());
             $newXml =  $sb.ToString()
        if ($xtr -ne $null)
            $xtr.Close()
        #Add Web Part to catalogs folder
        write-host "Adding Webpart....."
        $oWebPartDefinition = $limitedWebPartManager.ImportWebPart($newXml);
        $limitedWebPartManager.AddWebPart($oWebPartDefinition.WebPart, $ZoneName, $ZoneIndex);
    $context.ExecuteQuery();
        write-host "Adding Web Part Done"
        catch
        write-host "Error while 'AddWebPartToPage'" $_.exception| format-list * -force
    ERROR:
    Error while 'AddWebPartToPage' System.Management.Automation.MethodInvocationException: Exception calling "ExecuteQuery" with "0" argument(s): "$Resources:core,ImportErrorMessage;" ---> Microsoft.SharePoint.Client.
    ServerException: $Resources:core,ImportErrorMessage;
       at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
       at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
       at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
       at ExecuteQuery(Object , Object[] )
       at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)
       --- End of inner exception stack trace ---
       at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)
       at System.Management.Automation.DotNetAdapter.MethodInvokeDotNet(String methodName, Object target, MethodInformation[] methodInformation, Object[] arguments)
       at System.Management.Automation.Adapter.BaseMethodInvoke(PSMethod method, Object[] arguments)
       at System.Management.Automation.ParserOps.CallMethod(Token token, Object target, String methodName, Object[] paramArray, Boolean callStatic, Object valueToSet)
       at System.Management.Automation.MethodCallNode.InvokeMethod(Object target, Object[] arguments, Object value)
       at System.Management.Automation.MethodCallNode.Execute(Array input, Pipe outputPipe, ExecutionContext context)
       at System.Management.Automation.ParseTreeNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
       at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeNode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionContext context)
           

    Thanks Sethu for your comments. However i am running this powershell directly on server so believe
    SharePointOnlineCredentials is not required.
    I have tried it but still giving me same error

  • Query AD cause Exception calling "FindAll" with "0" argument(s)

    Hi all,
    When I query an entry property of AD with PowerShell, i got some problems. Here is the script, what's wrong ? Any idea? Thanks!
    Cause error at last line code. (Exception calling "FindAll" with "0" argument(s): "There is no such object on the server)
    $MailboxServer = Get-MailboxServer -Identity $Env:COMPUTERNAME -ErrorAction SilentlyContinue
    $dc = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()
    $exchOAB = New-Object System.DirectoryServices.DirectoryEntry("LDAP://" + $dc.Name + "/cn=Offline Address Lists,cn=Address Lists Container, " + $MailboxServer.DistinguishedName)
    $objSearcher = New-Object System.DirectoryServices.DirectorySearcher
    $objSearcher.SearchRoot = $exchOAB
    $objSearcher.PageSize = 1000
    $objSearcher.SearchScope = "OneLevel"
    $objSearcher.Filter = "(objectClass=msExchOAB)"
    $powershellOAB = $objSearcher.FindAll()

    This is one of, now, four duplicate posts.
    ¯\_(ツ)_/¯

  • Schema to be handled does not contain a definition of type Activate

    I am trying to create a new datatype called Activate based on an xsd file and this is the message I get ... 
    "Schema to be handled does not contain a definition of type Activate"
    Anyone have any ideas why I can't use any of my external definitions in my mapping??

    Hi Andrew,
    There are errors in your XSD :
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    <xs:element name="envelope">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="header"/>
    <b><xs:element ref="body"/></b>
    </xs:sequence>
    <xs:attribute name="version" use="required" type="xs:NMTOKEN"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="header">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="manifest"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <b><xs:element name="manifest"></b>
    <xs:complexType>
    <xs:sequence>
    <b><xs:element ref="authentication"/></b>
    <b><xs:element ref="taxonomy"/></b>
    </xs:sequence>
    </xs:complexType>
    (1)There is no reference named <b>'body', 'authentication' and 'taxonomy'</b>
    (2)It should be closed (either by <b><xs:element name="manifest"/></b> or <b></element></b> )
    Hope this will help you.
    Regards
    Suraj

  • I have a mid-2011 iMac running Mavericks. When I click restart the computer goes to a white screen with a spinning circle and does not go any further until I hold down the power button to turn it off. What do I do?

    I have a mid-2011 iMac running Mavericks. When I click restart the computer goes to a white screen with a spinning circle and does not go any further until I hold down the power button to turn it off. What do I do?

    Ok, sounds like the safe mode boot worked... You probably don't want to always be in safe mode though (some reduced functionality) so does it do a normal boot now? If not, you should then reboot into safe mode and run Disk Utility. Then select Macintosh HD on the left hand side, and click the Verify Disk button. If needed, it will ask you to Repair Disk. If there are errors found, Repair Disk again until there are none. Then try another normal boot and reply with result, wether good or bad.

  • How can I get my HP desk jet 3054 to AirPrint with my iPad? It does not recognize any printer

    Bought new HP DESKJET 3054 printer, it air prints with my MacBook pro but not my iPad. It reads "no printers found" when I want to print. Can I get some help with this one ?  The iPad works on same wifi as printer but does not find printer. However it does work with MacBook pro .please help.

    Welcome to Apple Support Communities.
    Apparently your DeskJet is not on the 'official' list of AirPrint supported HP printers: http://support.apple.com/kb/HT4356
    If you don't mind tweaking OS X a bit, try the tweak in this thread, originally started in November 2010.
    https://discussions.apple.com/thread/2658720?threadID=2658720&tstart=0
    I'm successfully using it with OS X 10.6.7 and 10.6.8 and an iPad 2 using iOS 4.3.1 to a USB-connected HP LaserJet 1320 and a WiFi-connected Canon MP560.
    Note that with this modification, your Mac must be on and awake for iPad printing to occur.
    Others in the Support Communities use iPad printing apps such as Printopia. I've found that this tweak meets my needs, so I haven't tried any other apps.  Also check for an HP app for your printer, and make certain that your printer has the latest firmware installed.

  • Exception calling "ExecuteNonQuery" with "0" argument(s): "CommandText property has not been initialized.

    I have CSV file  which has sdimiler  data I am inserting those  date to desinated table and while executing this  query mentioned below I get error mentioned in TITLE
    insert into SU_EDIT_DETAIL(EDIT_FUNCTION, TABLE_FUNCTION, CODE_FUNCTION, CODE_TYPE,CODE_BEGIN, CODE_END, EXCLUDE, INCLUDE_X, OP_NBR, TRANSCODE, VOID, YMDEFF, YMDEND, YMDTRANS)"
    select  $($line."EDIT_FUNCTION"),($line."TABLE_FUNCTION"), ($line."CODE_FUNCTION"),'DIAG', ($line."CODE_BEGIN"), ($line."CODE_END"),' ',' ',' ','MIS', 'C',' ',20141001, 99991231, 20131120 
    from dual where not exists(select * from SU_EDIT_DETAIL where (EDIT_FUNCTION = ($line."EDIT_FUNCTION") and TABLE_FUNCTION = ($line."TABLE_FUNCTION")
    and CODE_BEGIN= ($line."CODE_BEGIN") 
    and CODE_END= ($line."CODE_END")));
    commit;
    Vijay Patel

    This SQL appears to be Oracle PL/SQL.  You may want to post in the Oracle forum.  If you are habving issues with the ADO.NET objects then you need to supply more of your code.
    ¯\_(ツ)_/¯

  • How do I link a new IPhoto install with my pictures. I does not "see" any "libraries"...

    I can not find my photos with the new version of iPhoto.

      Are you saying you ran software update and the iphoto app was upgraded to the latest version?
    Hmmm.
    try holding the option key as you launch iPhoto and see if your photo library is in the list.

  • Error searching for from role provider Microsoft.Office.Server.Security.LdapProviderException: Unexpected exception occurred, please contact administrator to resolve this issue.

    Hi,
    I am trying to configure FBA with ADLDS on SharePoint 2013 Enterprise.
    I have edited, web.config files for Central Admin, Security Token Application and Claim aware WebApplication.
    <PeoplePickerWildcards>
    <clear />
    <add key="XXPROVIDERMP" value="%" />
    <add key="XXPROVIDERRM" value="%" />
    <add key="AspNetSqlMembershipProvider" value="%" />
    </PeoplePickerWildcards>
    <membership defaultProvider="i">
    <providers>
    <add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
    <add name="XXPROVIDERMP" type="Microsoft.Office.Server.Security.LdapMembershipProvider, Microsoft.Office.Server, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C" server="CSERVER" port="389" useSSL="false" userDNAttribute="distinguishedName" userNameAttribute="userPrincipalName" userContainer="CN=Clients,CN=Extranet,DC=XXDCNAME,DC=dmz" userObjectClass="person" userFilter="(|(ObjectCategory=group)(ObjectClass=person))" scope="Subtree" otherRequiredUserAttributes="sn,givenname,cn" />
    </providers>
    </membership>
    <roleManager defaultProvider="c" enabled="true" cacheRolesInCookie="false">
    <providers>
    <add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
    <add name="XXPROVIDERRM" type="Microsoft.Office.Server.Security.LdapRoleProvider, Microsoft.Office.Server, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C" server="CSERVER" port="389" useSSL="false" groupContainer="CN=Clients,CN=Extranet,DC=XXDCNAME,DC=dmz" groupNameAttribute="cn" groupMemberAttribute="member" userNameAttribute="userPrincipalName" dnAttribute="distinguishedName" groupFilter="(ObjectClass=group)" scope="Subtree" />
    </providers>
    </roleManager>
    When I am trying to find user in People Picker, getting error
    Error searching for "XXUSER"from role provider "XXPROVIDERNAME" Microsoft.Office.Server.Security.LdapProviderException: Unexpected exception occurred, please contact administrator to resolve this issue.
    Has someone else faced this issue?

    Figured it ! 
    Account which was accessing FBA didn't had permission on it.

  • C5 - does not show any number of incoming calls

    Dear all,
    I've bought a brand new Nokia C5 (7 days ago).
    Whenever I get a call from which number ever, the C5 does not show
    any number or contact detail at all?
    Does anyone from you know this phenomenon???
    Thanks in advance.
    Kind regards,
    Kai

    Hi,
    I cannot see the connection between the memory and the fact that the C5 does not show any number of any incoming calls. Even if it is not one of my contacts, who is calling, I would expect to see at least the number of the person, who calls (assumed the number is broadcasted by the sender) me.
    The C5 only displays 'Anruf', but no number or contact detail at all.
    Kind regards,
    Kai

  • Itunes does not recognize any calender to synchronize with

    My computer is repared and has a new hard disk.
    I have installed the latest version of iTunes and Outlook 2010 on my computer.
    I want to synchronize my iPad with my computer, but iTunes does not recognize any calender to sync with.
    In the old situation I synchronized my iPad with Outlook 2003. That worked fine.
    During the repare-time my iPad has become leading.
    How can I solve my problem

    Hello SCorky,
    The following article provides steps that can help get your devices back into iTunes.
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Cheers,
    Allen

  • After I've upgraded my iPhone iOS to 5.0.1, I got problems with connectivity. If my iPhone lose network, then it gets frozzen and I cannot make calls. After restart the telephone still does not work.

    After I've upgraded my iPhone iOS to 5.0.1, I got problems with connectivity. If my iPhone lose network, then it gets frozzen and I cannot make calls. After restart the telephone still does not work.

    1. Download the iOS 5.0.1: http://www.tobias-hartmann.net/2011/11/download-ios-5-0-1-veroffentlicht-direkte -downloadlinks/
    2. open itunes,Click in iTunes while holding down the Shift key (on Windows) or Alt key (Mac) to restore and firmware

  • What's wrong with my device?  It does not allow me to make calls with Skype or Viber...  Can someone help?

    What's wrong with my device?  It does not allow me to make calls with Skype or Viber...  Can someone help?

    My device is a Blackberry Z30.  Skype and Viber just to work fine.  I had to travel abroad and turn off data services while traveling outside of the US but the applications worked just fine with Wi-Fi.  Suddenly they stopped working to make calls.  I can still send text messages, but when I try to do a voice or video call (in the case of skype), it only says "failed call" and when I try to call using Viber I get an error message that says the I can not use the application until I complete my GMS call which is ridiculous because I'm not using the phone other than trying to place my call through Viber. The interesting thing is that when I go the permission page in my security settings everything indicates that its on but is gray out and I do not have access to change any setting.  The same in both applications.  The rest of the applications are accessible to change settings.   I already uninstalled skype and reinstalled it and still the same problem.  I'm ready to back up everything and wipe out the device to original settings. 

  • My iphone 4 does not make any sound except when i have call. Any sound notification for example whatsapp or email or playing song i could not hear a pip, but when blug the earphone i could hear all sound via earphone, any advise??

    My iphone 4 does not make any sound except when i have call. Any sound notification for example whatsapp or email or playing song i could not hear a pip, but when blug the earphone i could hear all sound via earphone, any advise??

    Check the Mute switch, which is on the left side of the phone above the volume buttons.

Maybe you are looking for

  • Deleted emails from pc/outlook still showing up on handheld

    Hello, I am a new Blackberry user and am having a few issues with my email setup. I use Comcast email (pop3) and windows live mail as my email addresses. When I delete an email from my PC or Outlook, it does not update the handheld. I have had the ph

  • H67MA-35 (B3) No video - new build

    This is a new build. Intel i5 2400, Corsair CMV4GX3M2A1333C9 memory.  I've tried this outside the case with nothing else but the monitor connected.  All CPU fan powers up.  I hear two beeps, silence, then two beeps, over and over.  No video output. 

  • How to add favicon to webcenter portal project

    Hi All, I am using jdeveloper version 11.1.1.6.0. We have developed webcenter portal application . I want to set favicon(browser icon) for all pages in my application . I put favicon in Web Content folder and run in local jdeveloper (integrated weblo

  • Spotlight Problems

    I know there are a lot of threads about Spotlight not working properly, but I've read through all of them and none of the answers have helped me. I have not yet resorted to the archive and install method, and I would rather not. Anyhow, my Spotlight

  • Can't run iphoto, idvd, itunes safari..help!

    I have recently used the software update option and i've installed updates for iphoto, iweb, safari, and itunes. The system restarted and now i can't run any of these programs. I tried to reinstall them from my mac os X 10.4.10 cd, but now i can't ru