This project has moved. For the latest updates, please go here.

LDAPCP deployment stopped search

Feb 17 at 6:43 PM
Edited Feb 17 at 6:44 PM
Our PROD farm has 2 APPs, 4 WFEs and 2 Crawl, 2 Query servers. When we deployed it in our Farm, search stopped working and got following error


TS Service request: Problem getting output claims identity. Exception: 'System.IO.FileNotFoundException: Could not load file or assembly 'ldapcp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=fcf51c21cb49cd7d' or one of its dependencies. The system cannot find the file specified. File name: 'ldapcp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=fcf51c21cb49cd7d' at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssemb... 7230d59d-2e7b-7058-1d14-ee727ca8338e
Coordinator
Feb 20 at 4:12 PM
This is because ldapcp.dll is not deployed in servers that are not running SharePoint web application service.
You must deploy it manually, as documented in the homepage:
[System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
$publish = New-Object System.EnterpriseServices.Internal.Publish
$publish.GacInstall("C:\Data\Dev\ldapcp.dll")