Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Really need help with this issue. I've been struggling for about 4 hours today with this issue and no luck.. Tried everything and every article out there but obviously missed something.

Here's the issue. My web app is setup with Claims and I'm using the dual auth with windows and forms based. Windows auth works fine.

Since today, I keep on getting the following exception :

SPSecurityTokenService.Issue() failed: System.ArgumentException: Cannot get Membership Provider with name XXXXX. The membership provider for this process was not properly configured. You must configure the membership provider in the .config file for every SharePoint process.

The change that was made, was a solution deployment which I guess made web.config changes that I dont' know of. I've tried rolling back web.configs, reconfiguring the membership providers to no avail.

Herewith my web.config for the affected web app:

<membership defaultProvider="XXXXXXX">
      <providers>
        <remove name="AspNetSqlMembershipProvider" />
        <add name="XXXXXXX" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="XXXXXXX" enablePasswordReset="false" enablePasswordRetrieval="false" passwordFormat="Clear" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" applicationName="XXXXXXX" />
      </providers>
    </membership>

Any advice appreciated.

share|improve this question
add comment

1 Answer

Ok. I managed to solve it. You have to also update your membership and roles settings in the SecurityToken WCF service found here : C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\WebServices\SecurityToken

I was updating the incorrect web.config for the STS found here C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\sts.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.