2012-12-20 23 views
0

我已經按照以下鏈接上的說明: Configuring Forms Based Authentication in SharePoint 2010SharePoint 2010的LDAP例外FaultException`1

當用戶登錄:如果用戶名和密碼錯誤消息的出現通知用戶來嘗試再次

但當用戶名和密碼是正確的異常被拋出:

[FaultException`1: Unexpected exception occurred, please contact administrator to resolve this issue.] 
    Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.ReadResponse(Message response) +1161205 
    Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr) +73 
    Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst) +36 
    Microsoft.SharePoint.SPSecurityContext.SecurityTokenForContext(Uri context, Boolean bearerToken, SecurityToken onBehalfOf, SecurityToken actAs, SecurityToken delegateTo) +26618417 
    Microsoft.SharePoint.SPSecurityContext.SecurityTokenForFormsAuthentication(Uri context, String membershipProviderName, String roleProviderName, String username, String password, Boolean isPersistent) +26623308 
    Microsoft.SharePoint.IdentityModel.Pages.FormsSignInPage.GetSecurityToken(Login formsSignInControl) +210 
    Microsoft.SharePoint.IdentityModel.Pages.FormsSignInPage.AuthenticateEventHandler(Object sender, AuthenticateEventArgs formAuthenticateEvent) +123 
    System.Web.UI.WebControls.Login.AttemptLogin() +152 
    System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +124 
    System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +70 
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29 
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981 
+0

此問題將更適合http://sharepoint.stackexchange.com – skeletank

+0

謝謝我將它移動 –

回答

0

終於讓我找到了解決辦法,這是因爲在web.config中的角色提供了錯誤,CN值wron g