Sharepoint PeoplePicker cannot search account on 2nd Domain with 2 way trust

Hi all,
   I have run into this issue for 2 days, and cannot figure out why.
   We have 3 different Sharepoint environments, and we have two-way trust between 1st and 2nd domain.
   But, one of the environments cannot search 2nd domain in PeoplePicker.
   However, the other two environments didn't require any configuration to be able to search ppl on the 2nd domain.
   Is there anyone know what happened on the specific environment?
   P.S. That specific environment has two servers in the farm, and one of them can search the 2nd domain in PeoplePicker, but the other one cannot.
   Any idea? Thank you.
James
 

Hi,
The issue usually occurs due to invalid trusts between different forests or the incorrect property set using stsadm. By default the people picker would search for users from same forest as that of the SharePoint server. If want to find the users from other domain, you need to use stsadm to set “peoplepicker-searchadforests” of the people picker.
If the new domain is in the same forest as the domain in SharePoint server, try to run the command line: stsadm -o setproperty. If the two domains are not in the same forest, you must run the setapppassword operation, and then run the peoplepicker-searchadforests property
For more information, please refer to: http://technet.microsoft.com/en-us/library/cc263460.aspx
Let me know the result.
Xue-Mei Chang

Similar Messages

  • Duplicate user account in multiple domain with samaccountname

    I have list of users in CSV file and I have 4 domain in my single forest.
    I wanted to all users mentioned in CSV are also exist in other child domain or not..
    if exist same account name then I need output..
    I am trying below command but its not giving me required information from all domain:
    Import-csv user.csv | foreach {get-aduser $_.samAccountName -properties SamAccountName | select name,SamAccountName}
    Please help me or guide me to get duplicates account with same samaccountname

    If I understand correctly, you're taking the users listed in user.csv and using Get-ADUser to see if the user exists.
    If they do exist you would expect an ADUser object, and if they don't you would expect an ADIdentityNotFoundException.
    That said, you're not capturing the output of Get-ADUser. I would add found users to an array and then once I've checked all the users in the CSV I would create all the accounts that are not in the array. Alternatively inside the foreach I would add users
    that don't exist and then deal with the duplicates afterwards. Careful when running the script again, you'll find all the users will have duplicates!
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • SharePoint 2013 - Cannot connect or Register WorkFlow Manager with error "The data or messaging layer is unavailable. Please retry after 300 seconds"

    Hi
    I have SharePoint 2013 farm and installed Workflow Manager 1.0 and configured it and have been runing fine for several months.  I upgraded this farm to SP 1 and then started having some issue with publish WF 2013 with task in SPD.
    I re-Registered using Register-SPWorkflowService command and that fixed the problem and WorkFlow Manager running again OK. It has been couple of monthle and now I am having the problem again but with a different error on SPD
    So doing what I did before, I tried to re-Registered WFM but this time getting the error below
    Register-SPWorkflowService : The data or messaging layer is unavailable. Please retry
    after 300 seconds.
    The only possible resolution that I found is to add the -AllowOAuthHttp in my Register-SPWorkflowService cmdlet but that didnot not resolve the problem.  I tried that anyway eventhough we do not allow http.
    I did some checking for status and configuration and Get-SBFarmstatus showing all WFM services are running OK
    I browsed to the WFM server https://servername:12290  and get the same error
    - <Errorxmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <Code>UnexpectedError</Code>
    <Message>The data or messaging layer is unavailable. Please retry after 300
    seconds.</Message>
    </Error>
    If anyone have advise / suggestion to resolve this issue, please share
    Thanks in advance for all comments
    Swanl

    Hi Swanl,
    Please refer to the article below for troubleshooting actions for workflow manager:
    http://blogs.msdn.com/b/vincent_runge/archive/2014/01/07/troubleshooting-actions-for-sharepoint-2013-workflows.aspx
    Moreover, activate workflow manager logs and see if there is any error message that could be help.
    Regards,
    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] .
    Rebecca Tu
    TechNet Community Support

  • No authentication prompt using DFS links to fileserver into another domain with no trusts between both domains

    Users  , Fileservers  and DFS root with DFS links in Domain A all work fine.
    each users from Domain A have also credentials and passwords from Domain B
    There is NO trust between Domain A and Domain B, both Domains are in different site connected with VPN-tunnel.
    Projectdata is stored at fileservers in both Domains. Now DFS links are added in the Domain A to a fileserver from Domain B
    When users from Domain A connects to fileserver in Domain B  first he/she gets a prompt to authenticated, then DFS link to the fileserver in  Domain B work.
    When users just use DFS link they get a prompt "not accessible" + "Logon failure unknown user or bad password"
    No prompt is given to users from Domain A to enter the credential for Domain B.
    We cannot created a trust between these 2 Domains due other policy's

    Hi,
    According to your description, there is no trust between domain A and domain B, right?
    Based on my research, if there is no trust between domains/forests, then it is not possible
    to share information across domain boundaries, because without trust, no authentication traffic can be passed across domain/forest.
    That is why the user cannot access the file he has rights to access across domain.
    Here is an article below for your references:
    Trust Technologies
    http://technet.microsoft.com/en-us/library/cc759554(v=WS.10).aspx
    I hope this helps.
    Amy Wang

  • ISE 1.2 Authentication fails for 2nd AD domain with the forest trust relation

    We are running cisco ISE 1.2, we have new AD domain with forest trust relation between both the new and the old. authentication to with the new domain fails.
    Is there any requirements or configurations change needs to be done to make it success?

    Use the license that is currently on your ISE.  If your account has access to download the software, then you are good.  The license will not change during the upgrade.  If you are using ISE 1.2 Patch 8 or above, then you are using the same Base/Plus?Apex Licensing model. 
    If you are not yet on Patch 8, the you are using Base/Advanced and these will be converted during the upgrade.
    Please Rate Helpful posts and mark this question as answered if, in fact, this does answer your question.  Otherwise, feel free to post follow-up questions.
    Charles Moreton

  • SharePoint Foundation 2010: search error: "Your search cannot be completed because of a service error."

    Hi,
    I have SharePoint Foundation 2010 running on a single server with databases, with a second server in the farm serving as a 2nd app tier. Both server have the exact same versions of SharePoint loaded (according to the Central Admin site).
    Whenever I try to run a search from any site in my SharePoint Foundation 2010 installation (in this example I typed "this is my query"), it hangs for 20-30 seconds while the IE status bar says:
    Waiting for http://SERVER2010:80/tfs/SITE1/_layouts/searchresults.aspx?k=this%20is%20my%20query&u=http%3A%2F%2Ftfs2010db%2Ftfs%2FSITE1
    Then it finally returns a results screen with an error that says: "Your search cannot be completed because of a service error. Try your search again or contact your administrator for more information."
    Checking the SharePoint logs under C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS, the relevant entries say the following (items I deem important
    bolded):
     11/05/2011 18:22:25.88 w3wp.exe (0x35F0) 0x1908 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (HEAD:http://172.22.100.101:80/)) 11/05/2011 18:22:25.88 w3wp.exe (0x35F0) 0x1908 SharePoint Foundation Logging
    Correlation Data xmnv Medium Name=Request (HEAD:http://172.22.100.101:80/) a7ab70a3-61bd-4d62-b5a4-cf77a45dafb9
    11/05/2011 18:22:25.88 w3wp.exe (0x35F0) 0x1908 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (HEAD:http://172.22.100.101:80/)). Execution Time=3.33645756653429 a7ab70a3-61bd-4d62-b5a4-cf77a45dafb9
    11/05/2011 18:22:50.73 w3wp.exe (0x35F0) 0x3148 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (POST:http://SERVER2010:80/tfs/SITE1/_layouts/searchresults.aspx?k=this%20is%20my%20query&u=http%3A%2F%2FSERVER2010%2Ftfs%2FSITE1))
    11/05/2011 18:22:50.73 w3wp.exe (0x35F0) 0x3148 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:http://SERVER2010:80/tfs/SITE1/_layouts/searchresults.aspx?k=this%20is%20my%20query&u=http%3A%2F%2FSERVER2010%2Ftfs%2FSITE1)
    fea6cc87-0404-497a-838e-5e154f422aa4
    11/05/2011 18:22:50.73 w3wp.exe (0x35F0) 0x3148 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://SERVER2010:80/tfs/SITE1/_layouts/searchresults.aspx?k=this%20is%20my%20query&u=http%3A%2F%2FSERVER2010%2Ftfs%2FSITE1)).
    Execution Time=4.3055751499143 fea6cc87-0404-497a-838e-5e154f422aa4
    11/05/2011 18:22:50.73 w3wp.exe (0x35F0) 0x3148 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (POST:http://SERVER2010:80/tfs/SITE1/_layouts/searchresults.aspx?k=this%20is%20my%20query&u=http%3A%2F%2FSERVER2010%2Ftfs%2FSITE1))
    11/05/2011 18:22:50.73 w3wp.exe (0x35F0) 0x3148 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:http://SERVER2010:80/tfs/SITE1/_layouts/searchresults.aspx?k=this%20is%20my%20query&u=http%3A%2F%2FSERVER2010%2Ftfs%2FSITE1)
    5e283c89-990f-4572-ae77-a1e6a5aad502
    11/05/2011 18:22:50.75 w3wp.exe (0x35F0) 0x3148 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/tfs/SITE1 5e283c89-990f-4572-ae77-a1e6a5aad502
    11/05/2011 18:22:50.77 w3wp.exe (0x35F0) 0x3148 SharePoint Foundation Search Query dn6r High FetchDataFromURL start at(outside if): 1 param: start 5e283c89-990f-4572-ae77-a1e6a5aad502
    11/05/2011 18:22:50.79 mssearch.exe (0x58A4) 0x2534 SharePoint Foundation Search QueryComponentSelection aee7 Medium
    Did You Mean Suggester not found. [smart2.hxx:382] d:\office\source\otools\inc\search\common\ytrip\tripoli\smart2.hxx 5e283c89-990f-4572-ae77-a1e6a5aad502
    11/05/2011 18:22:50.91 mssearch.exe (0x58A4) 0x2534 SharePoint Foundation Search Query Processor e0pg Medium 1dd958fb-b605-4b3b-a676-28a3cafb2eb6:
    Query completed 125 ms, detailed time: Query stage execution ms times: 0 125 0 0 125 0 0 0 Query stage cpu ms times: 0 31 0 0 31 0 0 0 Query stage hit counts: 1 1 1 7 1 0 1 1 Cursor count: 260 Mapped page count: 164 Total index count: 7 [srequest.cxx:5526]
    d:\office\source\search\native\ytrip\tripoli\cifrmwrk\srequest.cxx 5e283c89-990f-4572-ae77-a1e6a5aad502
    11/05/2011 18:23:06.08 w3wp.exe (0x35F0) 0x3148 SharePoint Foundation Search Exceptions 1hjo
    Medium Exception thrown: 0x80040e31 (d:\office\source\otools\inc\search\common\ytrip\tripoli\timeout.hxx:51 ip 0x000007FEECF099B7) 5e283c89-990f-4572-ae77-a1e6a5aad502
    11/05/2011 18:23:06.08 w3wp.exe (0x35F0) 0x3148 SharePoint Foundation Search
    Query Processor e2o1 High In CRootQuerySpec::Execute - caught exception: 0x80040e31, translated to: 0x80040e31 5e283c89-990f-4572-ae77-a1e6a5aad502
    11/05/2011 18:23:06.08 w3wp.exe (0x35F0) 0x3148 SharePoint Foundation Search Administration 0000
    High Log Query: More Information: Execution stopped because a resource limit was reached. No results were returned.
    5e283c89-990f-4572-ae77-a1e6a5aad502
    11/05/2011 18:23:06.08 w3wp.exe (0x35F0) 0x3148 SharePoint Foundation Web Parts 89a1
    High Error while executing web part: Microsoft.SharePoint.Search.WebControls.Srhdc GenericException: Your search cannot be completed because of a service error. Try your search again or contact your administrator for more information.
    ---> System.ServiceProcess.TimeoutException: System error. at Microsoft.SharePoint.Search.Query.KeywordQueryInternal.Execute() at Microsoft.SharePoint.Search.Query.QueryInternal.Execute(QueryProperties properties) at Microsoft.SharePoint.Search.Query.Query.Execute()
    at Microsoft.SharePoint.Search.WebControls.SearchResultHiddenObject.GetResultData() --- End of inner exception stack trace --- at Microsoft.SharePoint.Search.WebControls.SearchResultHiddenObject.get_ResultsReturned() at Microsoft.SharePoint.Search.Internal.WebControls.CoreRes...
    5e283c89-990f-4572-ae77-a1e6a5aad502
    11/05/2011 18:23:06.08* w3wp.exe (0x35F0) 0x3148 SharePoint Foundation Web Parts 89a1 High ...ultsWebPart.ModifyXsltArgumentList(ArgumentClassWrapper argList) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean
    bDeferExecuteTransform) 5e283c89-990f-4572-ae77-a1e6a5aad502
    11/05/2011 18:23:06.08 w3wp.exe (0x35F0) 0x3148 SharePoint Foundation Web Parts 89a2
    High InnerException 1: System.ServiceProcess.TimeoutException: System error. at Microsoft.SharePoint.Search.Query.KeywordQueryInternal.Execute() at Microsoft.SharePoint.Search.Query.QueryInternal.Execute(QueryProperties properties) at Microsoft.SharePoint.Search.Query.Query.Execute()
    at Microsoft.SharePoint.Search.WebControls.SearchResultHiddenObject.GetResultData() 5e283c89-990f-4572-ae77-a1e6a5aad502
    11/05/2011 18:23:06.08 w3wp.exe (0x35F0) 0x3148 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (DataBinding DataFormWebPart ()). Execution Time=15302.2074034549 5e283c89-990f-4572-ae77-a1e6a5aad502
    11/05/2011 18:23:06.09 w3wp.exe (0x35F0) 0x3148 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://SERVER2010:80/tfs/SITE1/_layouts/searchresults.aspx?k=this%20is%20my%20query&u=http%3A%2F%2FSERVER2010%2Ftfs%2FSITE1)).
    Execution Time=15358.1002613461 5e283c89-990f-4572-ae77-a1e6a5aad502
    11/05/2011 18:23:06.59 w3wp.exe (0x35F0) 0x58E0 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:http://SERVER2010:80/tfs/SITE1/Shared%20Documents/SITE1_logo_sharepoint.png))
    11/05/2011 18:23:06.59 w3wp.exe (0x35F0) 0x58E0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://SERVER2010:80/tfs/SITE1/Shared%20Documents/SITE1_logo_sharepoint.png) f0d03f8e-d78b-4004-9a5f-3ee9955afa60
    11/05/2011 18:23:06.59 w3wp.exe (0x35F0) 0x5C6C SharePoint Foundation General af71 Medium HTTP Request method: GET f0d03f8e-d78b-4004-9a5f-3ee9955afa60
    11/05/2011 18:23:06.59 w3wp.exe (0x35F0) 0x5C6C SharePoint Foundation General af75 Medium Overridden HTTP request method: GET f0d03f8e-d78b-4004-9a5f-3ee9955afa60
    11/05/2011 18:23:06.59 w3wp.exe (0x35F0) 0x5C6C SharePoint Foundation General af74 Medium HTTP request URL: /tfs/SITE1/Shared%20Documents/SITE1_logo_sharepoint.png f0d03f8e-d78b-4004-9a5f-3ee9955afa60
    11/05/2011 18:23:06.60 w3wp.exe (0x35F0) 0x58E0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://SERVER2010:80/tfs/SITE1/Shared%20Documents/SITE1_logo_sharepoint.png)). Execution Time=9.75459171486879 f0d03f8e-d78b-4004-9a5f-3ee9955afa60
    Not sure what "resource limit is reached" actually means. This SharePoint installation is running under regular SQL 2008 R2, and the
    WSS_Content database is fairly small (10gig). I've reviewed the Search Service, the process account running it, the
    WSS_SEARCH index database, and verified that the Content database is using the proper index database. Everything looks like it should be crawling/indexing/working fine. But the WSS_SEARCH
    database isn't very large, so I'm not sure if the crawling is actually filling it with anything.
    Not sure where to start seriously troubleshooting this. Any advice would be appreciated. Thanks.

    Hi,
    The query ran in tens of seconds. This indicates that at some point a bad plan compiled and stayed in the cache. 
    It may have gotten there because the statistics were out of date. 
    A possible way to keep this from happening is to rebuild statistics with full scan more frequently.
    Try free the proc cache and see the result.
    http://msdn.microsoft.com/en-us/library/ms174283(v=SQL.105).aspx
    Thanks,
    Rock Wang
    Regards, Rock Wang Microsoft Online Community Support

  • PeoplePicker not showing domain accounts from other forest in two way trust

    We recently moved from our old farm in domainA of forestA to a new farm in domainB of forestB. We also have an older farm in domainC in forestC. There is two-way trust between all these forests. By default, Peoplepicker-SearchADForests property is not set
    to anything, so it will only allow forestB accounts to be looked up from AD. But, we want PeoplePicker to lookup users from both domainA and domainB. I used below script to update the settings.
    $wa = Get-SPWebApplication -Identity "https://webapp"
    $oldDomain = New-Object Microsoft.SharePoint.Administration.SPPeoplePickerSearchActiveDirectoryDomain
    $oldDomain.IsForest = $false
    $oldDomain.DomainName = "domainA"
    $wa.PeoplePickerSettings.SearchActiveDirectoryDomains.Add($oldDomain)
    $wa.Update()
    $wa = Get-SPWebApplication -Identity "https://webapp"
    $newDomain = New-Object Microsoft.SharePoint.Administration.SPPeoplePickerSearchActiveDirectoryDomain
    $newDomain.IsForest = $false
    $newDomain.DomainName = "domainB"
    $wa.PeoplePickerSettings.SearchActiveDirectoryDomains.Add($newDomain)
    $wa.Update()
    For some reason, this doesn't work for domainA. Actually, it worked once before, but it stopped working at some point. PeoplePicker is only returning domainB accounts. If I add domainC using above script, it works too, but not for domainB.
    So, my question is obvious - how to make this work? I've searched for an answer a lot and went through all troubleshooting there is, but could not resolve this permanently. Any help is appreciated.
    Thanks.

    Thanks Vladimir. I was able to run it finally in CMD. Here are the results. Now I'm thinking that the ports are not open )) Trevor's app was probably checking the ports in domain controller servers, though not sure.
      TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       4
      TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       672
      TCP    0.0.0.0:443            0.0.0.0:0              LISTENING       4
      TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
      TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING       2184
      TCP    0.0.0.0:5985           0.0.0.0:0              LISTENING       4
      TCP    0.0.0.0:8081           0.0.0.0:0              LISTENING       4
      TCP    0.0.0.0:14004          0.0.0.0:0              LISTENING       1464
      TCP    0.0.0.0:22233          0.0.0.0:0              LISTENING       5240
      TCP    0.0.0.0:22234          0.0.0.0:0              LISTENING       5240
      TCP    0.0.0.0:22236          0.0.0.0:0              LISTENING       5240
      TCP    0.0.0.0:32843          0.0.0.0:0              LISTENING       4
      TCP    0.0.0.0:32844          0.0.0.0:0              LISTENING       4
      TCP    0.0.0.0:47001          0.0.0.0:0              LISTENING       4
      TCP    0.0.0.0:49152          0.0.0.0:0              LISTENING       448
      TCP    0.0.0.0:49153          0.0.0.0:0              LISTENING       540
      TCP    0.0.0.0:49154          0.0.0.0:0              LISTENING       776
      TCP    0.0.0.0:49155          0.0.0.0:0              LISTENING       800
      TCP    0.0.0.0:49156          0.0.0.0:0              LISTENING       540
      TCP    0.0.0.0:49177          0.0.0.0:0              LISTENING       928
      TCP    0.0.0.0:49201          0.0.0.0:0              LISTENING       532
      TCP    SERVERIP:139         0.0.0.0:0              LISTENING       4
      TCP    [::]:80                [::]:0                 LISTENING       4
      TCP    [::]:135               [::]:0                 LISTENING       672
      TCP    [::]:443               [::]:0                 LISTENING       4
      TCP    [::]:445               [::]:0                 LISTENING       4
      TCP    [::]:3389              [::]:0                 LISTENING       2184
      TCP    [::]:5985              [::]:0                 LISTENING       4
      TCP    [::]:8081              [::]:0                 LISTENING       4
      TCP    [::]:14004             [::]:0                 LISTENING       1464
      TCP    [::]:22233             [::]:0                 LISTENING       5240
      TCP    [::]:22234             [::]:0                 LISTENING       5240
      TCP    [::]:22236             [::]:0                 LISTENING       5240
      TCP    [::]:32843             [::]:0                 LISTENING       4
      TCP    [::]:32844             [::]:0                 LISTENING       4
      TCP    [::]:47001             [::]:0                 LISTENING       4
      TCP    [::]:49152             [::]:0                 LISTENING       448
      TCP    [::]:49153             [::]:0                 LISTENING       540
      TCP    [::]:49154             [::]:0                 LISTENING       776
      TCP    [::]:49155             [::]:0                 LISTENING       800
      TCP    [::]:49156             [::]:0                 LISTENING       540
      TCP    [::]:49177             [::]:0                 LISTENING       928
      TCP    [::]:49201             [::]:0                 LISTENING       532

  • Cannot login to Windows 8 Domain PC with AD account

    I have a Dell Inspiron 15Z which is joined to the domain. The laptop is running Windows 8. I am unable to login to the computer with any domain account (even accounts that have profiles saved on this device). I can ping the DC and I am able to login to the
    DC with one of the accounts via RDP, so I know the account is not locked out. Just to be safe I reset the password for the account and still it gives me the "Incorrect password or username. Try again" error.
    A little background:
    I recently did a Windows Refresh on the computer due to some software issues. After Windows Refresh was completed I was able to login fine. But after a while it started throwing me the above error. I reset the password and was able to login under both accounts.
    Now neither accounts work. My domain has two domain controllers, one is currently offline due to hardware issues.
    I have used to lockoutstatus.exe tool to verify that the account is not locked out. I also verified that each unsuccessful attempt to login to the domain PC does not register on the Bad Pwd Count tab. I then entered in a bunch of garble for the domain account
    and it did register bad login attempts so I know the domain is functioning correctly. I forced a gpupdate and I also forced a replication on the dc, still nothing.
    Any help would be greatly appreciated. I am able to login to the computer using local accounts and Microsoft accounts, but no domain accounts.

    Since you did a refresh, then run Windows Update and install all updates. Try disconnect from domain and rejoin and check if problem persist or not.

  • 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

  • Sharepoint Server 2013 Search Issue

    Hi,
    running Sharepoint server 2013. search service application is not working properly. getting the below error message. 
    "Unable to retrieve topology component health states. This may be because the admin component is not up and running"
    we have 2 tier sharepoint 2013 farm architecture. please find the below server details.
    1. WFE & APP server (OS: Windows Server 2008 R2 SP1 and RAM: 8 GB) 
    2. database server (OS: Windows Server 2008 R2 SP1 and RAM: 8 GB) 
    I tried the following:
    - installed the latest sharepoint server 2013 CU.
    - OS is up to date.
    - deleted and recreated Search Service Application
    - The service account does have access to the search databases
    - one account is used, domain\sp2013search, has all necessary permissions
    Please help to fix the search issue.

    Hi Raj0639,
    According to your description, my understanding is that you got an error when you run SharePoint 2013 Search.
    Firstly, please make sure that all servers are online, and connecting to others.
    Please stop all search services on Manage services on server, then restart them. Please try to do as Amit said, compare the result.
    If this issue still exists, please repair SharePoint 2013 under Control Panel, then compare the result.
    Here is a similar post for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/a67b0d0f-4f5a-4412-8f83-a57eaff4be45/sharepoint-search-host-controller-does-not-start?forum=sharepoin
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Getting Error The trust relationship between the primary domain and the trusted domain failed in SharePoint 2010

    Hi,
    SharePoint 2010 Backup has been taken from production and restored through Semantic Tool in one of the server.The wepapplication of which the backup was taken is working fine.
    But the problem is that the SharePoint is not working correctly.We cannot create any new webapplication ,cannot navigate to the ServiceApplications.aspx page it shows error.Even the Search and UserProfile Services of the existing Web Application is not working.Checking
    the SharePoint Logs I found out the below exception
    11/30/2011 12:14:53.78  WebAnalyticsService.exe (0x06D4)         0x2D24 SharePoint Foundation          Database                     
     8u1d High     Flushing connection pool 'Data Source=urasvr139;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Connect Timeout=15' 
    11/30/2011 12:14:53.78  WebAnalyticsService.exe (0x06D4)         0x2D24 SharePoint Foundation          Topology                     
     2myf Medium   Enabling the configuration filesystem and memory caches. 
    11/30/2011 12:14:53.79  WebAnalyticsService.exe (0x06D4)         0x12AC SharePoint Foundation          Database                     
     8u1d High     Flushing connection pool 'Data Source=urasvr139;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Connect Timeout=15' 
    11/30/2011 12:14:53.79  WebAnalyticsService.exe (0x06D4)         0x12AC SharePoint Foundation          Topology                     
     2myf Medium   Enabling the configuration filesystem and memory caches. 
    11/30/2011 12:14:55.54  mssearch.exe (0x0864)                    0x2B24 SharePoint Server Search       Propagation Manager          
     fo2s Medium   [3b3-c-0 An] aborting all propagation tasks and propagation-owned transactions after waiting 300 seconds (0 indexes)  [indexpropagator.cxx:1607]  d:\office\source\search\native\ytrip\tripoli\propagation\indexpropagator.cxx 
    11/30/2011 12:14:55.99  OWSTIMER.EXE (0x1DF4)                    0x1994 SharePoint Foundation          Topology                     
     75dz High     The SPPersistedObject with
    Name User Profile Service Application, Id 9577a6aa-33ec-498e-b198-56651b53bf27, Parent 13e1ef7d-40c2-4bcb-906c-a080866ca9bd failed to initialize with the following error: System.SystemException: The trust relationship between the primary domain and the trusted
    domain failed.       at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection sourceSids, Boolean& someFailed)     at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection
    sourceSids, Type targetType, Boolean forceSuccess)     at System.Security.Principal.SecurityIdentifier.Translate(Type targetType)     at Microsoft.SharePoint.Administration.SPAce`1.get_PrincipalName()    
    at Microsoft.SharePoint.Administration.SPAcl`1.Add(String princip... 
    11/30/2011 12:14:55.99* OWSTIMER.EXE (0x1DF4)                    0x1994 SharePoint Foundation          Topology                     
     75dz High     ...alName, String displayName, Byte[] securityIdentifier, T grantRightsMask, T denyRightsMask)     at Microsoft.SharePoint.Administration.SPAcl`1..ctor(String persistedAcl)    
    at Microsoft.SharePoint.Administration.SPServiceApplication.OnDeserialization()     at Microsoft.SharePoint.Administration.SPIisWebServiceApplication.OnDeserialization()     at Microsoft.SharePoint.Administration.SPPersistedObject.Initialize(ISPPersistedStoreProvider
    persistedStoreProvider, Guid id, Guid parentId, String name, SPObjectStatus status, Int64 version, XmlDocument state) 
    11/30/2011 12:14:56.00  OWSTIMER.EXE (0x1DF4)                    0x1994 SharePoint Foundation          Topology                     
     8xqx High     Exception in RefreshCache. Exception message :The trust relationship between the primary domain and the trusted domain failed.   
    11/30/2011 12:14:56.00  OWSTIMER.EXE (0x1DF4)                    0x1994 SharePoint Foundation          Timer                        
     2n2p Monitorable The following error occured while trying to initialize the timer: System.SystemException: The trust relationship between the primary domain and the trusted domain failed.       at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection
    sourceSids, Boolean& someFailed)     at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess)     at System.Security.Principal.SecurityIdentifier.Translate(Type
    targetType)     at Microsoft.SharePoint.Administration.SPAce`1.get_PrincipalName()     at Microsoft.SharePoint.Administration.SPAcl`1.Add(String principalName, String displayName, Byte[] securityIdentifier, T grantRightsMask,
    T denyRightsMask)     at Microsoft.SharePoint.Administrati... 
    11/30/2011 12:14:56.00* OWSTIMER.EXE (0x1DF4)                    0x1994 SharePoint Foundation          Timer                        
     2n2p Monitorable ...on.SPAcl`1..ctor(String persistedAcl)     at Microsoft.SharePoint.Administration.SPServiceApplication.OnDeserialization()     at Microsoft.SharePoint.Administration.SPIisWebServiceApplication.OnDeserialization()    
    at Microsoft.SharePoint.Administration.SPPersistedObject.Initialize(ISPPersistedStoreProvider persistedStoreProvider, Guid id, Guid parentId, String name, SPObjectStatus status, Int64 version, XmlDocument state)     at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(Guid
    id, Guid parentId, Guid type, String name, SPObjectStatus status, Byte[] versionBuffer, String xml)     at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(SqlDataReader dr)     at Microsoft.SharePoint.Administration.SPConfigurationDatabase.RefreshCache(Int64
    currentVe...
    Please guide me on the above issue ,this will be of great help
    Thanks.

    I have same error. Verified for trust , ports , cleaned up cache.. nothing has helped. 
    The problem is caused by User profile Synch Service:
    UserProfileProperty_WCFLogging :: ProfilePropertyService.GetProfileProperties Exception: System.SystemException:
    The trust relationship between the primary domain and the trusted domain failed.       at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection sourceSids,
    Boolean& someFailed)     at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess)     at System.Security.Principal.SecurityIdentifier.Translate(Type
    targetType)     at Microsoft.SharePoint.Administration.SPAce`1.get_PrincipalName()     at Microsoft.SharePoint.Administration.SPAcl`1.Add(String principalName, String displayName, SPIdentifierType identifierType, Byte[]
    identifier, T grantRightsMask, T denyRigh...        
    08/23/2014 13:00:20.96*        w3wp.exe (0x2204)                      
            0x293C        SharePoint Portal Server              User Profiles                
            eh0u        Unexpected        ...tsMask)     at Microsoft.SharePoint.Administration.SPAcl`1..ctor(String persistedAcl)    
    at Microsoft.Office.Server.Administration.UserProfileApplication.get_SerializedAdministratorAcl()     at Microsoft.Office.Server.Administration.UserProfileApplication.GetProperties()     at Microsoft.Office.Server.UserProfiles.ProfilePropertyService.GetProfileProperties()
    Please let me know if you any solution found for this?
    Regards,
    Kunal  

  • Search account got - Insufficient sql database permissions for user. EXECUTE permission was denied on the object proc_Gettimerrunningjobs

    Dear all,
    I am troubleshooting a critical error showed up on Event log.  It said:
    Insufficient sql database permissions for user 'Name:domain\wss_search ....... EXECUTE permission was denied on the object 'proc_GetTimerRunningJobs', database 'SharePoint_Config', schema 'dbo'
    domain\wss_search is the default content access account. According to
    http://technet.microsoft.com/en-us/library/cc678863.aspx I should not grant it the Farm Administrators permission.
    In the Search Center I am able to search out documents as expected so I think the search service is fine.   However I have no clue why this account is trying to access 'proc_GetTimerRunningJobs'.
    Mark

    Hi Mark,
    This issue was caused by the search account’s permission. For resolving your issue, please do as the followings:
    Expand your SharePoint Configuration database 'SharePoint_Config' and navigate to ‘proc_GetTimerRunningJobs’ under Programmability ->Stored Procedures
    Right-click proc_GetTimerRunningJobs and choose Properties
    Click on Permission on the left launch
    Select the Search button and browse for ‘WSS_Content_Application_Pools’
    Provide ‘Execute’ permissions for ‘WSS_Content_Application_Pools’
    Click OK
    Here are some similar posts for you to take a look at:
    http://adammcewen.wordpress.com/2013/03/01/execute-permission-denied-on-sharepoint-config-db/
    http://technet.microsoft.com/en-us/library/ee513067(v=office.14).aspx
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • SharePoint 2013 Server is uable to crawl sites in another domain which is trusted

    Hello,
    I have 2 SharePoint 2013 servers.  The 2 servers are in different domains, domainA and domainB. 
    The domains are trusted.  On one of the servers (Server A), I have set up enterprise search, where it is supposed to get search results from Server B in the other domain. 
    Local search results is working good, but Server A is unable to crawl sites on Server B.
    I have a domain search account like domainA\SharePointSearch for SharePoint Server A and domainB\SharePointSearch for the SharePoint Server B. 
    This is used for the SharePoint search services.  I have the website address for the sites that are on Server B in the list for SharePoint to crawl and index, but Server A is not finding the Server B and is unable to crawl the sites
    on Server B.
    Any suggestions on what I can do to get sites on Server B crawled and indexed from Server A?
    Thanks,
    Paul

    Are you receiving errors in the crawl log? Does the crawl account in farm A have a
    Full Read user policy on the web applications in farm B that you are crawling?
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • Cannot search for "@" symbol when using search function

    I am trying to create a calculated column which extracts the domain part of an email address. My problem is that no type of search formula (SEARCH or FIND) seems to be able to recognise the "@" symbol so I get an error stating that
    "The search TEXT provided to function 'SEARCH' could not be found in the given text"
    Even more bizarre is that if I do just a general search in my table (CTRL + F from inside Powerpivot) it cannot find @ symbols either. Could someone please explain why PowerPivot cannot search for the @ symbol (I haven't tested others) and whether there
    is a solution?
    The formula I was trying to use was:
    =SUBSTITUTE(A1, LEFT(A1,FIND("@",A1)),"")
    Obviously with A1 replaced by the column name of where my email data is stored.
    Any help would be much appreciated.
    Thanks.

    Both FIND() and SEARCH() should find the "@" in PowerPivot.
    I have done it many times.
    You probably have one row in your data set that doesn't contain "@".  That will cause the error you describe and if one row in a Calculated Column causes an error, every row has an error if you do nothing to account for it.
    Try wrapping your formula in an IFERROR([Your Formula], BLANK()).
    This should allow it to run successfully on valid rows and will show a blank on any rows that are causing problems.
    Once you identify the problem row (or rows) you can make a decision about how to deal with it.

  • Sharepoint Foundation 2013 On a SBS 2011 Domain??

    I have an SBS 2011 domain with 2 servers(SBS2011 Premium) The SBS box acts as domain controller and the second server runs Server 2008R2 and has SQL 2008R2 on it for Dynamics GP and Dynamics CRM 2011 and hosts the Sharepoint Foundation 2010 Databases. Is
    there a way that I can setup a Sharepoint Foundation 2013 farm. Currently both boxes are farm members in the 2010 farm. I would like to keep the setup similar but if I have to can I just run the farm on the 2nd server. Will it live side by side with the Sharepoint
    2010 on the SBS box. What about Companyweb? Thanks in advance
        Joe Powers

    I guess SBS guys will be the right people to answer your query, please post you question on the below forum:
    http://social.technet.microsoft.com/Forums/en-US/home?category=sbsserver
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

Maybe you are looking for

  • Problem with the menu bar : Nothing appear

    I have a relatively annoing problem : None of mac os x application appears in tue menu bar. Neither the clock, nor the airport express status, nor the sound. I have open the preference panel : - if I change the setting for the clock, it appears on th

  • To store PDF into BLOB and retrieve into OLE/OCX

    We would like to: 1. Store a PDF file (output of a report saved in file server) into a BLOB column. 2. Retrieve previously stored PDF in the BLOB column and display using either OLE automation or ActiveX (OCX) control. I read all related documents in

  • 2 white areas are visibly different in some media players/Youtube, but not others/Vimeo!

    Thank you for stopping by. It's like I have a ghost in Premiere! I uploaded the same video to Youtube and Vimeo and it looks totally different! Youtube shows the problem, Vimeo doesn't - Youtube: Vimeo: Any ideas why the screen capture background (re

  • File info or metadata

    I cannot seem to find a way to enter the job name into the "file info" or metadata in Photoshop CS. If the job name was entered in a previous version of photoshop such as PS7 it will appear in the file info under the advanced tab underthe XMP Basic j

  • When I export to QT movie, the video on a slide doesn't play and no playbac

    I have a .mov file as content on one of my slides. when i play the file within keynote it works beautifully. the video plays as directed (either on click or automatically, depending how i set it up), and when the mouse hovers over the movie you get p