簡體   English   中英

ADFS錯誤EventId:111

[英]ADFS Error EventId: 111

這個錯誤使我瘋狂了兩天!

我有一個Web服務器和一個adfs服務器(均為Windows Server 2012)。 我正確配置了adfs。 我可以看到adfs / ls身份驗證頁面,並且可以使用AD用戶從adfs服務器登錄。 當我嘗試從Web服務器訪問adfs / ls身份驗證頁面時,正在正確地重定向到adfs服務器,因此我可以輸入用戶名和密碼。 何時回來,我在頁面上收到此錯誤:

There was a problem accessing the site. Try to browse to the site again.
If the problem persists, contact the administrator of this site and provide the reference number to identify the problem.
Authentication failed. Close the browser and try again, or contact your administrator for more information.
Reference number: 8949f368-ee3b-4c94-a749-63950dfc42b9

在adfs服務器上,我有此事件ID 111:

The Federation Service encountered an error while processing the WS-Trust request. 
Request type: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue 

Additional Data 
Exception details: 
Microsoft.IdentityServer.Framework.SecurityTokenService.FailedAuthenticationException: MSIS3055: The requested relying party trust 'http://myserver.com/MyApplication' is unspecified or unsupported. If a relying party trust was specified, it is possible the user does not have permission to access the relying party trust. ---> Microsoft.IdentityServer.Service.Policy.PolicyServer.Engine.ScopeNotFoundPolicyRequestException: MSIS3020: The relying party trust with identifier 'http://myserver.com/MyApplication' could not be located.
   --- End of inner exception stack trace ---
   at System.IdentityModel.AsyncResult.End(IAsyncResult result)
   at System.ServiceModel.Security.WSTrustServiceContract.ProcessCoreAsyncResult.End(IAsyncResult ar)
   at System.ServiceModel.Security.WSTrustServiceContract.EndProcessCore(IAsyncResult ar, String requestAction, String responseAction, String trustNamespace)

Microsoft.IdentityServer.Service.Policy.PolicyServer.Engine.ScopeNotFoundPolicyRequestException: MSIS3020: The relying party trust with identifier 'http://myserver.com/MyApplication' could not be located.

在兩台服務器中都配置了依賴方信任,證書也正確,但顯然缺少或存在錯誤。 任何幫助將非常感激!

正常的原因是應用中存在WIF領域。 web.config與“ ADFS RP標識符”選項卡中的字符串不匹配。

並包括斜線!

你有:

ADFS中的http://myserver.com/MyApplication

您是否將其配置為:

http://myserver.com/MyApplication/在WIF中?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM