-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Claim provider with name LDAPCP does not exist. #21
Comments
Do you see LDAPCP when you run this cmdlet: |
I dont see LDAPCP as a claim provider. also, when I try to deploy the package, I get that: XC-S-ZW00068 : Failed to load receiver assembly "ldapcp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=455f141f47bb8cc6" for feature "LDAPCP" (ID: b37e0696-f48c-47ab-aa30-834d78033ba8).: System.IO.FileNotFoundException: Could not load file or assembly 'ldapcp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=455f141f47bb8cc6' or one of its dependencies. The system cannot find the file specified. File name: 'ldapcp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=455f141f47bb8cc6' 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 reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String assemblyString) at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. XC-S-ZW00068 : Failed to load receiver assembly "ldapcp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=455f141f47bb8cc6" for feature "LDAPCP" (ID: b37e0696-f48c-47ab-aa30-834d78033ba8).: System.IO.FileNotFoundException: Could not load file or assembly 'ldapcp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=455f141f47bb8cc6' or one of its dependencies. The system cannot find the file specified. File name: 'ldapcp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=455f141f47bb8cc6' 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 reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String assemblyString) at Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. |
Unfortunately something went wrong when you deployed the solution. |
This is why I wrote carefully |
I swear I did it! anything else I should check to make sure its really gone, before doing it again ? Thanks for your support. |
No you're good, but for safety you should close and open a fresh PowerShell command line. However, if the server where you are re-installing LDAPCP does not run "Microsoft Sharepoint Foundation Web Application", you need to manually add LDAPCP.dll in the GAC as described in section "Important - Limitations" in http://ldapcp.com/Install-LDAPCP.html |
Aaaaahhhhh, sorry for that...
No worries about this command, it deletes only the LDAPCP persisted object. SELECT * FROM [13_SharePoint_Config].[dbo].[Objects] WHERE Id LIKE '5D306A02-A262-48AC-8C44-BDB927620227' |
yay! its working now, merci beaucoup! |
My pleasure :) |
If I may suggest something else (years after): Insted of setting the ClaimProviderName-Member on the authenticationProvider, you may try:
This will configure the Authentication Provider using dedicated objects instead of "reference by string" and ... worked for me. Reinstalling my claimProvider unfortunately did not do the trick. Regards! |
Thanks @pscheidemann for this tip! |
Hi Yvand, PS C:\Windows\system32> $adfs1 = Get-SPTrustedIdentityTokenIssuer "AzureADTrust"
Exception calling "Update" with "0" argument(s): "Could not load file or assembly 'ldapcp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=80be731bc1a1a740' or one of its dependencies. The system cannot find the file
|
The solution was deployed globally correctly, but when I do this
$tokenIssuerName = “ADFS”
$trust = Get-SPTrustedIdentityTokenIssuer –Identity $tokenIssuerName
$trust.ClaimProviderName = “LDAPCP”
$trust.Update()
I'm getting this error:
Claim provider with name LDAPCP does not exist.
The text was updated successfully, but these errors were encountered: