获取ADFS页面时出错

时间:2015-06-24 16:57:21

标签: windows windows-server-2008-r2 saml adfs2.0

我在Windows服务器8上安装了ADFS 2.0,当我要获取位于adfs / ls dierctory下的页面(FormsSignIn.aspx)时,我收到的错误

There was a problem accessing the site. Try to browse to the site again.

我已在事件查看器中检查了日志,并收到以下消息

Microsoft.IdentityServer.Protocols.Saml.HttpSamlMessageException: MSIS7015: This request does not contain the expected protocol message or incorrect protocol parameters were found according to the HTTP SAML protocol bindings. at Microsoft.IdentityServer.Web.HttpSamlMessageFactory.CreateMessage(HttpContext httpContext) at Microsoft.IdentityServer.Web.FederationPassiveContext.EnsureCurrent(HttpContext context)

我已经检查了所有可能的方法,但无法重新解决这个问题。

请协助。

1 个答案:

答案 0 :(得分:0)

如果您想在ADFS中使用表单身份验证,则不要直接访问此页面,而是configure the ADFS web.config for forms authnclaims enable your application / service provider(SP)。启用应用程序的声明的方法可能因所使用的Windows Identity Foundation(WIF)的版本而异。