Missing SPML Search Services in 11g

OIM 10g had some some SPML services to perform searches. This is documented at:
http://download.oracle.com/docs/cd/E14899_01/doc.9102/e14763/spml.htm#sthref92
These services seem to be missing (or have moved) in OIM 11g, 11.1.1.3.0.
Any idea what happened? Is there still a way to do a search against OIM 11g via SPML services?
Thanks
Aspi Engineer
Putnam Investments

They are not available in SPML. They moved to IGF/CARML, this is available starting with 11.1.1.4 . Kind of a big change but then who uses SPML anyway
http://download.oracle.com/docs/cd/E21764_01/oim.1111/e16588/toc.htm

Similar Messages

  • SPML Web Service in 11g (XSD): fail to get the psoID

    Hello.
    Has anybody successfully used the default XSD version of the SPML web service in 11g? I was able to successfully invoke the Add User operation but I'm not seeing the psoID (this is the unique ID generated by OIM for the user) for the newly added user... The Oracle docs for 11g do not show how that is returned... I would think that in would be in the response but I do not see it there... Someone suggested using Search User to get the psoID but I do not see a Search operation in the WSDL for 11g...
    I'm starting to think that the XSD version of the SPML in 11g is maybe incomplete? When I get chance, I may deploy the DSML version of the web service, and then run the Sample HTTP Client to see if that works better. I understand that this DSML version is what was used in 10g, and may be more robust.
    Thoughts anybody?

    Sunny,
    As you have pointed out, API will work.
    But regarding your statement:
    "Use SPML10g along with SPML11g (this is the cleanest OOTB solution wherein you can use the older set of SPML methods to fetch the userKey and then use newer SPML methods to perform asynchronous operations). I did the same"
    SPML samples that came with 10g did not work with OIM 11g for me. Because from what I know, SPML in 10g made use of DSML profile and that is not supported in 11g.
    http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/spmlapi.htm#CHDCBJAI
    "SPML has two profiles: the XSD profile and the DSML profile. This release of Oracle Identity Manager makes use of the XSD profile."
    Did you tweak something to get it working?
    Thanks.

  • UCM 11g File missing from search result although file is accessable

    When I do search without any criteria in UCM 11g, some files missing from search result although I know the files were checked into UCM already since I'm able to see these files using url similar to:
    http://ucm/cs/idcplg?idcService=GET_FILE&dID=12345
    or use following url to get document information:
    http://ucm/cs/idcplg?idcService=DOC_INFO&dID=12345
    the file is not in the search resule even search by ID.
    also, the seach result say "displaying 1-20" but only display few files (e.g. 2 files, less than 20)
    Is this a known problem? the same search was working in UCM 10 perfectly.
    Thanks

    The query seems able to retrieve the missing document. for example, I search by content ID, in the audit log (eanbled as you mentioned) give th efollowing information:
    fusionappsattachments/6     09.13 06:22:03.878     IdcServer-3474     --- @ResultSet SearchResults ---
    fusionappsattachments/6     09.13 06:22:03.878     IdcServer-3474     numFields=66,*numRows=1*,currentRow=0
    also, the infomation following above give the deteail field information which match with the missing document.
    I looks like UCM just did not bring it to UI as part of search result.
    This seems match with my another finding as I mentioned earlier: the seach result say "displaying 1-20" but only display few files (e.g. 2 files, less than 20)
    it seems query did find the documents but UI did not show it.
    Not sure if this is a known bug.

  • Error while calling SPML web service call in OIM 11g

    Hi,
    While testing the SPML web service call, I am getting the "failure in security check" errors.
    And I have attached the request and responce .
    Request:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header xmlns:ns1="urn:names:spml:ws:header">
    <ns1:ServiceHeader>
    <ns1:serviceId/>
    </ns1:ServiceHeader>
    <wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken>
    <wsse:Username>xelsysadm</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXXXXX</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soap:Header>
    <soap:Body xmlns:ns2="http://xmlns.oracle.com/idm/identity/spmlv2custom/Username">
    <ns2:validateUsernameRequest xmlns:ns3="urn:oasis:names:tc:SPML:2:0" requestID="12345" executionMode="synchronous" locale="en" policyURI="http://www.sample.com/string/string">
    <ns2:capabilityData mustUnderstand="true" capabilityURI="urn:oasis:names:tc:SPML:2:0:reference"/>
    <ns2:username>TCS1000</ns2:username>
    </ns2:validateUsernameRequest>
    </soap:Body>
    </soap:Envelope
    Response:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault xmlns:ns0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <faultcode>ns0:FailedCheck</faultcode>
    <faultstring>FailedCheck : failure in security check</faultstring>
    <faultactor/>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    I have attached the log file from OIM
    ####<Apr 26, 2012 10:27:13 AM EDT> <Error> <oracle.wsm.resources.enforcement> <corwloimhd01> <dev-oim_oim_server01> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <214014dca901f288:-460ab67b:136eeab0662:-7ffd-0000000000000838> <1335450433058> <WSM-07501> <Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.service, application=spml-xsd, composite=null, modelObj=SPMLService, policy=oracle/wss11_saml_or_username_token_with_message_protection_service_policy, policyVersion=1, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-username-with-certificates.>
    ####<Apr 26, 2012 10:27:13 AM EDT> <Notice> <Stdout> <corwloimhd01> <dev-oim_oim_server01> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <214014dca901f288:-460ab67b:136eeab0662:-7ffd-000000000000083d> <1335450433058> <BEA-000000> <<Apr 26, 2012 10:27:13 AM EDT> <Error> <oracle.wsm.resources.enforcement> <WSM-07501> <Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.service, application=spml-xsd, composite=null, modelObj=SPMLService, policy=oracle/wss11_saml_or_username_token_with_message_protection_service_policy, policyVersion=1, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}wss11-username-with-certificates.>>
    Please help me how to solve this issue.
    Thanks in advance
    Siva

    Your business logic has to be implemented by using OIM APIS. oimclient.jar..
    you can then expose these business functions accordingly using a webservice or rest ...
    for business logic refer:-
    http://docs.oracle.com/cd/E27559_01/dev.1112/e27150/apis.htm#OMDEV734
    You will basicsally have to deal with UserManager class for managing users.
    java API:
    http://docs.oracle.com/cd/E27559_01/apirefs.1112/e28159/toc.htm

  • The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component 'GUID′ in search application 'Search Service Application' is in a good state and try again.

    Another post with a well-known title. Believe me, I know. Here's my setup;
    - 1 Server 2012 WFE, SharePoint Server 2013, totally up-to-date, including the september 2014 hotfix
    - 1 Server 2012 DB, SQL Server 2012
    Installed SP 2013 using PowerShell, with the AutoSPinstaller. Worked like a charm. Got everything up and running, with some tweaking here and there to customize it to fit my situation. Now, I can't get the Search Service Application to work. Must have created,
    deleted and recreated it at least 30 times. Used both PowerShell scripts, PowerShell line-by-line, Central Admin, heck, I even went so far as to use the configuration wizzard... No luck. I keep on getting the message that search cannot connect to the machine
    that hosts the 'administration component'.
    In order to avoid answers that suggest all the things I've already tried, here's a summary of the various scenarios I followed:
    Tried both a dedicated application pool as well as the SharePoint Web Services Default
    Timer job job-application-server-admin-service is running and not showing errors
    IIS 8.0 is installed, so is .NET 4.5 (not the known perp of IIS 7.5 and .NET 4.0)
    the get-SPEnterpriseSearchServiceInstance -local returns a healthy, online state
    the SPEnterpriseSearchQueryAndSiteSettingsServiceInstance is also running
    FireWall is disabled; registry has the BackConnectionHostNames modified with the necessary FQDNs
    Accounts used to install and / or run the serviceapp all have sufficient rights - tried a dedicated managed account, SP_2013_SearchSvc, the SP admin account, and even the original Farm account; all to no avail, I keep on getting the error message.
    Even tried stsadm to start the server search running - NOTHING WORKS!!!
    As you might understand, this is driving me nuts. About to miss my second deadline, and no amount of IISresetting is making this go away. Been stuck on this issue for far too long, now (my searching is measured in days and weeks instead of hours, by now).
    Whoever helps me solve this - you will have my eternal gratitude, and a nice bottle of Prosecco. Or whatever's your poison. You need to come get it, though. I´m situated in the Netherlands. Hey, you always meant to visit Amsterdam and see for yourself, right?
    Thanks, community, for coming to my rescue!

    Thanks again - Alas, I've been there. Deleted Search a dozen times, at least, and tried installing it, initially using a PowerShell script (tried several scripts actually, from full-blown total Search Applications with extensive topologies to the most basic
    of basics 'please just start without showing me errors'), PowerShell line-by-line to see where things went South, next tried installing through Central Admin (hoping that it was my own stupidity in overlooking things and hoping The System would get it right
    for me), and eventually even tried using the config wizzard as a total and utter last resort - Nothing worked.
    At first, I found out that removing a Service App needs a *little* bit more work than simply removing it through Central Admin, but by now I can truthfully state that if there's one thing I've become supergood at, it's removing Search Service Applications.Totally.
    I will check out the article, though - I realized early on in my SharePoint experience that regardless of what you think you know, there's so much more to find out. I know, that's almost philosophical. That is, my friends, indeed the point I've reached...

  • How to properly create and configure SharePoint 2013 Search service with PowerShell?

    Hello Forum,
    I have installed SharePoint 2013 across three tier servers:
    WFE Server  (Of course, SharePoint is installed here. Bsically this is just a Web server)
    APP Server  (Of course, SharePoint is installed here + Central Admin + Service Apps).
    SQL Server  
    I now want to create and configure the Search service, obviously on the APP Server, But of course the search functionality should work correctly on the WFE server to.
    I want to do this via a proper PowerShell script. I found Spence Harbar's script on: (http://www.harbar.net/articles/sp2013mt.aspx), But it has three problems, and they are as follows:
    1) Spence Harbar himself literally stated on his article that this script is for: "deploying on a single server farm", But what if I have three tier servers? Could anyone please help me out in suggesting the required tweaks in the
    script?
    2) By default Search uses the SP_Farm account, So, How can I change the script to use other dedicated account for the search service e.g. SP_SearchAcc ?
    3) How can I modify the script to specify a default Search center?
    4) Apart from all the three aforementioned point - Is the script missing anything? 
    I would greatly appreciate your inputs - Thanks !

    the only differences are where you place the components.  if you are doing a small server farm with a 1-1-1, most likely you just need to change the script so that you set the index and query processing component on the front end, but the others on
    the app server.  just a 2 second update... just keep in mind this will work, but I am making several assumptions without any knowledge of your farm, users, capabilities. 
    generally, there would be more of a breakout on the topology than that, but im guessing for this farm that you wont have dedicated search servers.  also, a lot depends on # users (rps really), # items in index, size of VMs (RAM for query processing,
    Disk for index, etc, etc), and making sure the topology works for your particular environment and needs. 
    if you want more detailed topology help, which aligns as closely as possible to "best practices" (not that those exist in SharePoint, go ahead and provide the total # users, average/peak RPS for search, current index size, content source types,
    VM specs RAM, CPU, #/Size of drives, HA concerns/priority (obviously isn't, since only 1-1-1)
    Christopher Webb | MCM: SharePoint 2010 | MCSM: SharePoint Charter | MCT | http://christophermichaelwebb.com

  • Installation of Oracle Service Bus 11g

    Hi guys,
    I have installed weblogic 11g (10.3.6) and Oracle Enterprise Pack for Eclipse 11.1.1.8 using the file oepe-wls-indigo-installer-11.1.1.8.0.201110211138-10.3.6-win32.
    Now I was trying to install the Oracle Service Bus 11g 11.1.1.7 and it says:
    INST-11502:  OEPE version isn't the correct OEPE for this version of OSB. Expected 1.8, found 2.1.1
    Enter a valid OEPE home location
    I wasn't expecting this compatibility error. I search My Support on I I Doc ID 1944102.1 and it points to http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/oepe-11118-521475.html which seems to be the oepe 11.1.1.8 (the one I have).
    Can you help on this compatibility issue please?
    thanks in advance.
    Regards

    Now I cannot run eclipse...
    My suggest is because the JVM is 32-bit and this eclipse is for 64bit. If I try to run the other eclipse (the one that came with the 32bit installation), I can open it, but cannot create any osb configuration project.
    Error opening eclipse:
    Error creating an osb configuration project:
    Any suggestions?
    Thanks!

  • Can "SPML Web Service Complex Data Type field" take multiple values ?

    In Generic Technology Connector's -SPML design parameters section, Can we give multiple values in SPML Web Service Complex Data Type field?
    If not, how can i call methods directly instead of calling them through a values of the "name" attribute of the "complexType" element in SPML Web Service Complex Data Type?
    I need 'SPML Web Service Complex Data Type' to hold multiple values.And based on the request it has to initiate appropriate method of action.
    Presently i have three methods add,modify and delete which i am calling through a single value of the "name" attribute of the "complexType" element in SPML Web Service Complex Data Type.
    I want to replace this single value with multiple menthods , so that a direct interaction between the method,OIM and target can be established.
    Edited by: 821054 on 16/02/2011 04:23

    Thanks Robert.
    You'll need to create your own interface to the webapp database for those kind of data operations
    by this, are you speaking of the internal BC database which stores web app schema data? That would be great if it were possible to update that programmatically because I need to use the List (Checkbox List) field type (for the search functionality), but I need to supply the checkbox options from a web app rather than by manually updating the list entered in the Fields view of the web app settings (shown below).
    I'm curious if anyone else has tried this?
    Again, my reason for needing to use the List (Checkbox List) field type is that the page which processes searches knows to expect a comma separated list for this field type and then appears to be parsing out the individual values for searching out web app items with 1 or more matching values. You're right that text fields (string and multiline) just check for 'string contains' matches, and this would be ok if I was only ever needing to search just one value at a time. Here's an example of what I might do:
    Web App item field value (as recorded against the List (Checkbox List) field type:
    8294877,8294878
    Web App Search value (for this same field):
    8294879,8294877,8294885
    The search would return this web app item because the field contains 2 (1 or more) individual values even though they were entered into the search field in a different order. If this web app item were just a Text (string or multiline) field, the searched value is not a substring of the web app item's stored value, so it would not find a match. Hence the need to use Checkbox List field type.
    The web app will have thousands if not 10s of thousands of records, so dumping them all into one big array or object and searching on the front-end won't be practical (though it works great on smaller datasets).

  • Where does the search service expect to build its index?

    I installed SP 2013 on a non-system drive.
    When I installed SP 2007 and 2010, I also had to specify that logs and search indexs were to be built on the non-system drive, but it was really simple - just a few mouse clicks - to do so.
    When I am installing the SP 2013 search service, I don't see any way to modify the topology so that I can specify that the index should be built on the non-system drive.
    When I try searching the web, I see various powershell scripts of 20-40 lines of code that claim to be needed to do this.
    Surely I am missing something obvious.
    It seems so obvious to me that if I install SP 2013 on a D: drive, then the D: drive should be where logs and indexing goes - and if I want it on a different non-system drive, there should be a simple way to accomplish that.
    I am hoping that my searches have once again led me astray, missing the simple answer.
    Can someone help me find the simple way to accomplish there?
    Thank you!

    Hello,
    The configuration of search has changed somewhat now that FAST search is integrated into the platform. One of the main changes is the Search Topology configuration:
    http://technet.microsoft.com/en-us/library/jj219705(v=office.15).aspx
    It gives you a lot more power and allows you to scale out your search environment.
    You can use PowerShell to reconfigure the search topology as you have discovered. One of the scripts I have used before is:
    http://gallery.technet.microsoft.com/office/Move-SharePoint-2013-242869e2
    which seems to do the job quite nicely. Definitely not as easy as it used to be in SharePoint 2010, but the reasons are to provide more scale and availability of a search infrastructure in SharePoint 2013.
    Regards,
    Gavin McKay

  • SPML Web Service -  custom Add Response

    Hi,
    Each time an Add Request is requested to OIM's SPML Web Services, there is a standard SPML Add Response received where in PSO ID is returned.
    We in our project are looking to customise this format and return additional parameters (which OIM would generate based on some logic) to the requesting consumer.
    Can I achieve this in OIM. Is this an Out-of-the-box feature OR some thing which I would need to do. If so, kindly eloborate and brief me the steps to proceed.
    Edited by: bond8135 on 11-Apr-2010 18:37

    Sunny,
    As you have pointed out, API will work.
    But regarding your statement:
    "Use SPML10g along with SPML11g (this is the cleanest OOTB solution wherein you can use the older set of SPML methods to fetch the userKey and then use newer SPML methods to perform asynchronous operations). I did the same"
    SPML samples that came with 10g did not work with OIM 11g for me. Because from what I know, SPML in 10g made use of DSML profile and that is not supported in 11g.
    http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/spmlapi.htm#CHDCBJAI
    "SPML has two profiles: the XSD profile and the DSML profile. This release of Oracle Identity Manager makes use of the XSD profile."
    Did you tweak something to get it working?
    Thanks.

  • Search Service stopped crawling content after previously working

    The search service stopped crawling contennt. This was working previously.  I tried to stop full crawl and restart.  The ULS logs reveals this error repeatedly. when filter on search errors.
    Microsoft.Ceres.ContentEngine.SubmitterComponent.ContentSubmissionDecorator : CreateSession() failed with unexpected exception System.ServiceModel.FaultException`1[System.String]: The creator of this fault did not specify a Reason. (Fault Detail is equal
    to Specified flow: Microsoft.CrawlerFlow could not be started. Unable to start a flow instance on any of the available nodes.).
    Before we dropped the index and or rebuilding the Search Service application has anyone else worked on a similar issue?
    Thank you.

    Hi PSCoan,
    From the error message, it seems that the service account running the SharePoint Search Host Controller and the SharePoint search server 15 is missing the following four local policies:
    SeAssignPrimaryTokenPrivilege (Replace a process-level token )
    SeImpersonatePrivilege (Impersonate a client after authentication)
    SeServiceLogonRight (Log on as a service)
    SeIncreaseQuotaPrivilege (Adjust memory quotas for a process)
    Please go to the Local Group Policy Editor to assign the policies to the service account.
    Click Start , type gpedit.msc in the
    Start Search box, and then press ENTER .
    Expand Local Computer Policy -> Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment.
    Right click “Replace a process-level token” -> Properties -> Add User or Group.
    Right click “Impersonate a client after authentication” -> Properties -> Add User or Group.
    Right click “Log on as a service” -> Properties -> Add User or Group.
    Right click “Adjust memory quotas for a process” -> Properties -> Add User or Group.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Unable to create Search Service Application

    Hi All,
    When I tried to create Search Service Application in Central Admin, I'm getting Error on creation. The below is the detail error.
    Errors were encountered during the configuration of the Search Service Application.
    Microsoft.SharePoint.SPException: The timer job completed, but failed on one or more machines in the farm. at Microsoft.SharePoint.Administration.SPTimerJobAsyncResult.End()
    at Microsoft.SharePoint.Administration.SPServiceApplication.ProvisionInstances() at Microsoft.SharePoint.Administration.SPIisWebServiceApplication.Provision() at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Provision() at Microsoft.Office.Server.Search.Administration.SearchConfigWizard.b__22()
    at Microsoft.Office.Server.Search.Administration.SearchAdminUtils.UpdateIgnoreSPUpdatedConcurrencyException(String description, SearchAdminUtilsUpdateDelegate updateDelegate, SearchAdminUtilsRefreshObjectDelegate refreshObjectDelegate) at Microsoft.Office.Server.Search.Administration.SearchConfigWizard.CreateSearchApp()
    at Microsoft.Office.Server.Search.Administration.SearchConfigWizard.ProvisionSearchServiceApplication() at Microsoft.Office.Server.Search.Administration.SearchConfigurationJobDefinition.ExecuteTimerJob()
    5/2/2011 11:49:08 AM
    Could any body guide, where I'm missing?.
    Thanks
    When I looked in EventViewer for more error details, the below is the error message.
    Access to 'Global\Microsoft.SharePoint.SPIisProvisioningLock' is denied
    any ideas?.

    It doesnt work.
    I Stopped the search service and then try to receate the Search sercie application with the gui. In the log I get the same error.
    SearchConfigWizardFinish page failed with exception. System.InvalidCastException: Unable to cast COM object of type 'Microsoft.Office.Server.Search.Administration.MSSITLB.CGatheringManagerClass' to interface type 'Microsoft.Office.Server.Search.Administration.MSSITLB.IGatherManagerAdmin3'.
    This operation failed because the QueryInterface call on the COM component for the interface with IID '{0FF1CE14-013A-0000-0000-000000000000}' failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).   
    Server stack trace:      at Microsoft.Office.Server.Search.Administration.Gatherer.get_AdminObject()     at Microsoft.Office.Server.Search.Administration.Gatherer.ProvisionGlobalProperties()    
    at Microsoft.Office.Server.Search.Administration.Gatherer.Provision()     at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Provision()     at Microsoft.Office.Server.Search.Administration.SearchAdminUtils.DeployLocalServiceInstance[T](T
    localSearchServiceInstance)     at Microsoft.Office.Server.Search.Administration.SearchConfigurationJobDefinition.Create(AbstractSearchConfigWizard wizardOM)     at Microsoft.Office.Server.Search.Internal.UI.SearchConfigWizardFinish.ExecuteConfigurationTimerJob(SPLongOperationState
    longOperationState, String& strRedirectPage)     at Microsoft.SharePoint.SPStatefulLongOperation.SetThreadCultureAndRun(RunStatefulOperation runOperation, SPLongOperationState state, CultureInfo culture, CultureInfo uICulture)    
    at Microsoft.SharePoint.SPStatefulLongOperation.<>c__DisplayClass6.<Run>b__0(Object state)     at Microsoft.SharePoint.Utilities.SPThreadPool.WaitCallbackWrapper(Object state)     at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr
    md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)     at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)    Exception
    rethrown at [0]:      at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)     at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData&
    msgData)     at System.Threading.WaitCallback.EndInvoke(IAsyncResult result)     at Microsoft.SharePoint.Utilities.SPThreadPool.RunAsyncWorkItem(ImpersonatedCallbackParam param, TimerCallback timerCallback, Object timerState,
    Int32 timerPeriod)     at Microsoft.SharePoint.Utilities.SPThreadPool.RunAsyncWorkItemWithImpersonation(WaitCallback workItemCallback, Object workItemState, TimerCallback timerCallback, Object timerState, Int32 timerPeriod)    
    at Microsoft.SharePoint.SPStatefulLongOperation.Run(RunStatefulOperation runOperation)     at Microsoft.Office.Server.Search.Internal.UI.SearchConfigWizardFinish.<>c__DisplayClass2.<Commit>b__0(SPStatefulLongOperation longOperation)

  • Set up Search Service App For SharePoint server 2013 on Windows server 2012 R2 not working

    Hi all,
    I installed SharePoint server 2013 on Windows  server 2012 R2 using VirtualBox.  I created a DC(domain controller) server with a domain set up on one VM and it has SQL server 2012 SP1 installed. Then SharePoint 2013 on another VM was set up to access
    the DC server.  Everything seems working except Search Service App which cannot be sucessfully set up. Creation process for Search service app says Successful and 4 search databases were created and look fine. But when I navigate to search service app
    admin page, it gives error info:
    System status:  The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component '386f2cd6-47ca-4b3a-aeb5-d9116772ef16' in search application 'Search Service Application 1' is in
    a good state and try again.
    Search Application Topology:  Unable to retrieve topology component health states. This may be because the admin component is not up and running.
    From event viewer, I see following errors:
    (1) Error From source: SharePoint Server
    Application Server Administration job failed for service instance  Microsoft.Office.Server.Search.Administration.SearchServiceInstance
    (b7c72eb8-cbaf-435e-b4c9-963cb6e4e745).
    Reason: The object you are trying to create already exists. Try again using a different name.  
    Technical Support Details:
    System.Runtime.InteropServices.COMException (0x80040D02): The object you are trying to create already exists. Try again using a different name.  
       at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
       at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean
    isAdministrationServiceJob)
    (2) Error From source: SharePoint Server Search
    Could not access the Search database. A generic error occurred while trying to access the database to obtain the schema version info.
    Context: Application '386f2cd6-47ca-4b3a-aeb5-d9116772ef16'
    (3) Warning from source: SharePoint Server Search
    A database error occurred. Source: .Net SqlClient Data Provider Code: 8169 occurred 0 time(s) Description:  Error ordinal: 1 Message:
    Conversion failed when converting from a character string to uniqueidentifier., Class: 16, Number: 8169, State: 2    at
    System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
    (4) Error From source: SharePoint Server
    Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance
    (b7c72eb8-cbaf-435e-b4c9-963cb6e4e745).
    Reason: The gatherer application could not be mounted because the search administration database schema version does not match the expected backwards compatibility schema version. The database might not have been upgraded.  
    Technical Support Details:
    System.Runtime.InteropServices.COMException (0xC0041235): The gatherer application could not be mounted because the search administration database schema version does not match the expected backwards compatibility schema version. The database might not have
    been upgraded.  
    Since separate DC server and SharePoint server do not work, I installed SharePoint 2013 on DC server ( so DC server has everything on it now ) but it gives exactly same result. Later I installed SharePoint 2013 SP1 and still have the same problem with Search
    Service app. I spent two weeks tried all suggestions available from Web and Google but SharePoint Search Service simply does not work. Config and other databases work but why Search Service has this issue seemingly related to search DB.
    Could anybody please help out? You deserve a top SharePoint consultant award if you could find a solution. I am so frustrated and so tired by this issue.    This seems also to be a SP set up issue.
    Thanks a lot.

    Using new Search Service App wizard to create SSA is always a success. I could delete existing SSA and recreate it and no problem. It says successful but when I open Search Admin page from CA, it gives me errors as mentioned.
    Now I used the following PS script for creating SSA from Max Mercher, but it stays at the last setps in following script:
    Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
    $IndexLocation = "C:\Search"  #Location must be empty, will be deleted during the process!
    $SearchAppPoolName = "SSAPool"
    $SearchAppPoolAccountName = "mydomain\admin"
    $SearchServiceName = "SSA"
    $SearchServiceProxyName = "SSA Proxy"
    $DatabaseServer = "W12R2DC1"
    $DatabaseName = "SSA"
    $spAppPool = Get-SPServiceApplicationPool -Identity $SearchAppPoolName -ErrorAction SilentlyContinue
    if (!$spAppPool)
     $spAppPool = New-SPServiceApplicationPool -Name $SearchAppPoolName -Account $SearchAppPoolAccountName -Verbose
    $ServiceApplication = Get-SPEnterpriseSearchServiceApplication -Identity $SearchServiceName -ErrorAction SilentlyContinue
    if (!$ServiceApplication)
    # process stays at the following step forever, already one hour now.  
    $ServiceApplication = New-SPEnterpriseSearchServiceApplication -Name $SearchServiceName -ApplicationPool $spAppPool.Name -DatabaseServer  $DatabaseServer -DatabaseName $DatabaseName
    Account mydomain\admin is an farm managed account, domain admin account, in WG_ADMIN role, It is in all SQL server roles and is DBO. I see search DBs are already on SQL server. From Event viewer, I got following errors in sequence:
    (1) Crawler:Content Plugin under source Crawler:Content Plugin 
    Content Plugin can not be initialized - list of CSS addresses is not set.
    (2) Warning for SharePoint Server Search
    A database error occurred. Source: .Net SqlClient Data Provider Code: 8169 occurred 0 time(s) Description:  Error ordinal: 1 Message: Conversion failed when converting from a character string to uniqueidentifier., Class: 16, Number: 8169, State: 2   
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
    (3) Error for SharePoint Server Search
    Could not access the Search database. A generic error occurred while trying to access the database to obtain the schema version info.
    Context: Application 'cbc5a055-996b-44a7-9cbc-404322f9cfdf'
    (4) Error for SharePoint Server
    Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (b7c72eb8-cbaf-435e-b4c9-963cb6e4e745).
    Reason: The gatherer application could not be mounted because the search administration database schema version does not match the expected backwards compatibility schema version. The database might not have been upgraded. 
    (5) Error Shared Services for SharePoint Server Search 
    Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (b7c72eb8-cbaf-435e-b4c9-963cb6e4e745).
    Reason: The object you are trying to create already exists. Try again using a different name. 
    Technical Support Details:
    System.Runtime.InteropServices.COMException (0x80040D02): The object you are trying to create already exists. Try again using a different name. 
       at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
       at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob
    Above errors keep being generated. Last step for SSA creation stay there forever.  Any clue what is really going on?  Thanks.

  • Getting error while editing content source of search service application

    Hi,
    when i edit the content source of SharePoint Search Service Application and click on OK Button then i get the following error.
    Error it gives : An item with the same key has already been added.
    and when i check it in ULS log it gives this.
    Application error when access /_admin/search/editcontentsource.aspx, Error=An
    item with the same key has already been added.  Server stack trace:    
     at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version,
    FaultConverter faultConverter)   
     at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)   
     at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs,
    TimeSpan timeout)   
     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)   
     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)    Exception rethrown
    at [0]:    
     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object sender, EventArgs e)   
     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)   
     at System.Web.UI.Page.HandleError(Exception e)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.ProcessRequest()   
     at System.Web.UI.Page.ProcessRequest(HttpContext context)   
     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   
     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]:
    An item with the same key has already been added.   Server stack trace:    
     at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version,
    FaultConverter faultConverter)   
     at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)   
     at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs,
    TimeSpan timeout)   
     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)   
     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)    Exception rethrown
    at [0]:    
     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.ErrorHandler(Object sender, EventArgs e)   
     at Microsoft.Office.Server.Search.Internal.UI.SearchCentralAdminPageBase.OnError(EventArgs e)   
     at System.Web.UI.Page.HandleError(Exception e)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.ProcessRequest()   
     at System.Web.UI.Page.ProcessRequest(HttpContext context)   
     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   
     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Getting Error Message for Exception System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: An
    item with the same key has already been added. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.ArgumentException: An
    item with the same key has already been added.  
     at Microsoft.Office.Server.Search.Administration.SearchApi.WriteAndReturnVersion(CodeToRun`1 remoteCode, VoidCodeToRun localCode, Int32 versionIn)   
     at SyncInvokeEditContentSource(Object , Object[] , Object[] )   
     at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)   
     at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)   
     at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)   
     at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc&
    rpc)   
     at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)).
    Can anyone please help me, how can i resolved this issue.i am stuck :(
    Thanks in advance
    Muhammad Luqman

    Also tried with this code, but no succeed.
    Add-PSSnapin "Microsoft.SharePoint.PowerShell"
    $searchapp = Get-SPEnterpriseSearchServiceApplication "Search Service Application"
    $StartAddresses = "http://insite"
    $cs = Get-SPEnterpriseSearchCrawlContentSource -SearchApplication $searchapp -identity "Local SharePoint sites"
    $cs | Set-SPEnterpriseSearchCrawlContentSource –StartAddresses $StartAddresses
    I have now only single content source and all others are removed now but still getting same error.
    Muhammad Luqman

  • SharePoint server 2013 Search Service App on Windows server 2012 R2 not working

    Hi all,
    I installed SharePoint server 2013 on Windows  server 2012 R2 using VirtualBox.  I created a DC(domain controller) server with a domain set up on one VM and it has SQL server 2012 SP1 installed. Then SharePoint 2013 on another VM
    was set up to access the DC server.  Everything seems working except Search Service App which cannot be sucessfully set up. Creation process for Search service app says Successful and 4 search databases were created and look fine. But when I navigate
    to search service app admin page, it gives error info:
    System status:  The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component '386f2cd6-47ca-4b3a-aeb5-d9116772ef16' in search application 'Search Service Application 1' is
    in a good state and try again.
    Search Application Topology:  Unable to retrieve topology component health states. This may be because the admin component is not up and running.
    From event viewer, I see following errors:
    (1) Error From source: SharePoint Server
    Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (b7c72eb8-cbaf-435e-b4c9-963cb6e4e745).
    Reason: The object you are trying to create already exists. Try again using a different name. 
    Technical Support Details:
    System.Runtime.InteropServices.COMException (0x80040D02): The object you are trying to create already exists. Try again using a different name. 
       at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
       at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)
    (2) Error From source: SharePoint Server Search
    Could not access the Search database. A generic error occurred while trying to access the database to obtain the schema version info.
    Context: Application '386f2cd6-47ca-4b3a-aeb5-d9116772ef16'
    (3) Warning from source: SharePoint Server Search
    A database error occurred. Source: .Net SqlClient Data Provider Code: 8169 occurred 0 time(s) Description:  Error ordinal: 1 Message: Conversion failed when converting from a character string to uniqueidentifier., Class: 16, Number: 8169, State: 2   
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
    (4) Error From source: SharePoint Server
    Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (b7c72eb8-cbaf-435e-b4c9-963cb6e4e745).
    Reason: The gatherer application could not be mounted because the search administration database schema version does not match the expected backwards compatibility schema version. The database might not have been upgraded. 
    Technical Support Details:
    System.Runtime.InteropServices.COMException (0xC0041235): The gatherer application could not be mounted because the search administration database schema version does not match the expected backwards compatibility schema version. The database might not have
    been upgraded. 
    Since separate DC server and SharePoint server do not work, I installed SharePoint 2013 on DC server ( so DC server has everything on it now ) but it gives exactly same result. Later I installed SharePoint 2013 SP1 and still have the same problem
    with Search Service app. I spent two weeks tried all suggestions available from Web and Google but SharePoint Search Service simply does not work. Config and other databases work but why Search Service has this issue seemingly related to search DB.
    Could anybody please help out? You deserve a top SharePoint consultant award if you could find a solution. I am so frustrated and so tired by this issue.    
    Thanks a lot.

    Hi,
    According to your post, my understanding is that  SharePoint server 2013 Search Service App did not work on Windows server 2012 R2.
    Please make sure you configure Search Service Application correctly. You can refer to:Create and configure a Search service application in SharePoint Server 2013
    I recommend to created new Search Service Application, and made a full crawl. Then assigned the new SSA as the default SSA for webapplications. Finnlay checked  the issue doesnt occur now,
    If all search related components now are online, to keep the enviroonment clean, you can delete the old SSA.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • Problem reading input stream of urlconnection within portal

    Hi, This may be a generic server issue rather than portal but since it's my portal app that's displaying the problem I'll post it here. Part of my Portal attempts to POST to a remote server to retrieve some search results. In environments A & B (both

  • How to connect java to MS Access

    How to connect java to MS Access using jdbc Can U write the complete code for it ? How to interact with the fields ?

  • How to call a CRM transaction from WDA  component

    I have requirement where i need to open the CRM transaction CRMD_BUS2000126 from WDA with the object id selected in the context. To be more specific all i need to do is to open the activity screen of a particular give activity number from a WDA compo

  • Track goods movements

    Hi All, Due to space constraints we had to move our stock to an outside storage facility in addition to our existing storage location and also use the outside facility for receiving external goods. How can I record goods movements in the system     

  • Duplicate the Address book ?

    How do I copy / duplicate my Address book that is on iCloud so I have a non cloud copy on my Mini or is there a method to sync both? Cheers