Coder Social home page Coder Social logo

LDAPCP Solution deploy error about ldapcp HOT 7 CLOSED

yvand avatar yvand commented on August 10, 2024
LDAPCP Solution deploy error

from ldapcp.

Comments (7)

Yvand avatar Yvand commented on August 10, 2024

It looks like SPClaimProvider object was not deleted, can you check if this command returns it:

Get-SPClaimProvider -Identity "LDAPCP"

If so, you can remove it:

Get-SPClaimProvider -Identity "LDAPCP" | Remove-SPClaimProvider

Please let me knw if it worked, if so I'll add these steps to Fix-setup-issues page

from ldapcp.

MontanaMT avatar MontanaMT commented on August 10, 2024

When I run the command it doesn't find any custom claims providers and I am on getting the error on one server.

from ldapcp.

Yvand avatar Yvand commented on August 10, 2024

How do you reproduce the error, and what is the exact error message?

from ldapcp.

MontanaMT avatar MontanaMT commented on August 10, 2024

The error happens when I redeploy the solution using Central admin. One server errors with The definition specifies a claim provider with a name already in use. I can force the solution to deploy but then the claimprovider never shows up.

from ldapcp.

Yvand avatar Yvand commented on August 10, 2024

Solution deploys globally on all servers, it should not work on some and fail on others.

  • How many SharePoint servers do you have?
  • On how many servers do you have an error?
  • On servers reporting the error:
    • Are those servers running SharePoint service “Microsoft SharePoint Foundation Web Application”?
    • Do they have "LDAPCP" folder created in folder C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES ?

from ldapcp.

MontanaMT avatar MontanaMT commented on August 10, 2024

I was finally able to get back into the test environment and I still can't get the $trust.claimprovidername to work. I get an error of Claim provider with name LDAPCP does not exist.

I finally got it working by going back to your original code. One of your developers changed the code to change the name on $trust.ClaimProviderName = "LDAPCP" to something he recognized. I got that code to work once but not after that. Is to ok to leave the LDAPCP there?

from ldapcp.

Yvand avatar Yvand commented on August 10, 2024

On the server that thows this error, can you run this

Get-SPFeature -Identity "LDAPCP"

If it finds the feature, can you run this:

Get-SPFeature -Identity "LDAPCP" | Enable-SPFeature

from ldapcp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.