Comments (13)
Unfortunately something went wrong when you deployed the solution.
Don't rely on the successful deployment message, LDAPCP is not installed correctly and you need to re-install it.
Please carefully follow the steps in http://ldapcp.com/Fix-setup-issues.html to fix this.
Don't worry about potential side effects, this will clean up everything and after that you can re-install LDAPCP like if it was installed for the first time.
from ldapcp.
Aaaaahhhhh, sorry for that...
Unfortunately you need to redo all the steps in http://ldapcp.com/Fix-setup-issues.html.
But after that you also need to run this stsadm command to delete the LDAPCP persisted object:
stsadm -o deleteconfigurationobject -id 5D306A02-A262-48AC-8C44-BDB927620227
No worries about this command, it deletes only the LDAPCP persisted object.
If you want to see how this persisted object looks like, you can run this SQL command in SharePoint config database:
SELECT * FROM [13_SharePoint_Config].[dbo].[Objects] WHERE Id LIKE '5D306A02-A262-48AC-8C44-BDB927620227'
from ldapcp.
Do you see LDAPCP when you run this cmdlet:
Get-SPClaimProvider
Are you running your script on a server that is not running SharePoint service "Microsoft SharePoint Foundation Web Application"?
from ldapcp.
I dont see LDAPCP as a claim provider.
Microsoft Sharepoint Foundation Web Application is not showing in Central Admin, but its showing as started if I run Get-SPService | Select TypeName, Status
also, when I try to deploy the package, I get that:
if I force deployment, it will eventually say, that its deployed everywhere successfully.
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].
from ldapcp.
I get something like that when trying to uninstall
from ldapcp.
This is why I wrote carefully
As explained in section "Identify LDAPCP features to fix", you must first create directory "LDAPCP" and put feature files inside
from ldapcp.
I swear I did it!
ok now, it seems to be gone, I will try installing again
Get-SPFeature| ?{$_.DisplayName -like 'LDAPCP*'}| fl DisplayName, Scope, Id, RootDirectory
is not returning anything
anything else I should check to make sure its really gone, before doing it again ?
Thanks for your support.
from ldapcp.
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
from ldapcp.
:( new error now
from ldapcp.
yay! its working now, merci beaucoup!
from ldapcp.
My pleasure :)
from ldapcp.
If I may suggest something else (years after): Insted of setting the ClaimProviderName-Member on the authenticationProvider, you may try:
$cp = Get-SPClaimProvider "<name goes here>"; $ap = Get-SPTrustedIdentityTokenIssuer; **Set-SPTrustedIdentityTokenIssuer -Identity $ap -ClaimProvider $cp**
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!
from ldapcp.
Thanks @pscheidemann for this tip!
I'll test it and maybe update the install procedure to use this, it is indeed cleaner this way
from ldapcp.
Related Issues (20)
- Augmentation and workflow permissions HOT 4
- Unable to remove email address from people picker popup without breaking quickedit on 2019/SE. HOT 9
- Default logging level triggers Health Analyzer rule HOT 2
- In Central Administration can't see ADFS users in people picker HOT 12
- Augmentation uses SimpleBind regardless of LDAPConnectionsProp.AuthenticationSettings HOT 5
- Additional LDAP filter for user attributes applies to group HOT 2
- Confusion by using LDAPCP with SharePoint Subscription Edition HOT 2
- "Check Permissions" token cache HOT 2
- Claims matching in ULS Logs HOT 6
- People picker is showing another domain users which is not configured in LDAP Connection HOT 10
- LDAPCP and securitytoken.svc timeout when .Net Helper is enabled under augmentation HOT 8
- Claims provider for ADFS: Resolving user thats belongs to a nested group HOT 6
- Filtering on Custom ldapcp HOT 3
- Set Custom LDAP filter by powershell HOT 5
- LDAPCP not being queried when assigning targeted audiences (navigation, list items, etc) HOT 3
- Customization in LDAP solution HOT 3
- Replay LDAP query test returned user account result but people picker doesn't return this user account HOT 8
- Target Audience not working for LDAPCP groups added to sharepoint groups HOT 6
- LDAPCP on a non-ADFS federated setup HOT 2
- Domain groups can't be added after resolving it in people picker HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ldapcp.