0

拡張インターネット ゾーンでの認証にカスタム メンバーシップ プロバイダーを使用したい SharePoint 2010 Web アプリケーションがあります。ただし、次のエラーが表示されます。

System.ServiceModel.FaultException`1 was unhandled by user code
  Message=Cannot get Membership Provider with name xxx. The membership provider 
  for this process was not properly configured. You must configure the membership 
    provider in the .config file for every SharePoint process.
  Source=Microsoft.IdentityModel
Action=http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher/fault
  StackTrace:
       at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.ReadResponse(Message response)
       at     Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr)
       at     Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst)
       at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForContext(Uri context, Boolean bearerToken, SecurityToken onBehalfOf, SecurityToken actAs, SecurityToken delegateTo)
   at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForFormsAuthentication(Uri context, String membershipProviderName, String roleProviderName, String username, String password)
   at Microsoft.SharePoint.IdentityModel.SPClaimsUtility.AuthenticateFormsUser(Uri context, String userName, String password)
   at Fellowes.Commerce.Site.Layouts.Fellowes.Commerce.Site.Authentication.SignInControl_Authenticate(Object sender, AuthenticateEventArgs e)
   at System.Web.UI.WebControls.Login.AttemptLogin()
   at System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e)
   at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  InnerException:

メンバーシップ情報を既定のゾーンの構成、インターネット ゾーンの構成、トークン サービスの構成、およびサーバーの全体管理の構成に入れましたが、すべての SharePoint プロセスの構成にメンバーシップ プロバイダーが含まれていないことにまだ不満があります。私が見逃した別のプロセスはありますか?このエラーを受け取った他のすべての人は、トークン サービスにエントリを追加できませんでしたが、私は既にそこに追加しています。私は困惑しています!

4

2 に答える 2

0

FBAの設定を取得する際にも同じ問題がありました。私は本質的に最初からやり直し、このブログ投稿を段階的にたどったところ、すべてがうまくいきました. 私は自分でまったく同じことをしたと誓ったが、それでも私には謎だ.

于 2011-08-25T21:29:43.320 に答える
0

そのため、サーバーの全体管理 > サーバー上のサービスの管理にあるClaims to Windows Token Serviceを開始していないことがわかりました。それをオンにすると、動作し始めました。Matt が提案したように SQLMembershipProvider を設定すると、正しい方向に導かれましたが、最終的な解決策にはなりませんでした。

于 2011-08-26T13:15:38.023 に答える