0

我添加了对我的 Sharepoint FBA 站点的 authentication.asmx Web 服务的引用。我有以下代码:

 Authentication auth = new Authentication();
            LoginResult lResult = auth.Login("******", "******");

Login 方法抛出异常,如下所示:

System.Web.Services.Protocols.SoapException:服务器无法处理请求。---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]:无法检索 IIS 设置。参数名称:在 Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.Issue(RequestSecurityToken rst, RequestSecurityTokenResponse& rstr) 在 Microsoft.IdentityModel.Protocols.WSTrust.WSTrustChannel.在 Microsoft.SharePoint.SPSecurityContext.SecurityTokenForContext(Uri 上下文、布尔承载令牌、SecurityToken onBehalfOf、SecurityToken actAs、SecurityToken delegateTo、SPRequestSecurityTokenProperties 属性)的问题(RequestSecurityToken rst)在 Microsoft.SharePoint.SPSecurityContext。

我正在使用 SQL Membership 提供程序来设置 FBA。

4

0 回答 0