1

Firefox Developer Editionは本当に好きですが、過去に私が働いていた場所で管理者の介入が必要な場合、複数の問題が見つかりました。私が実行している最新の問題は、新しいクライアントサイトでデバッグ(XXX.YYYという名前の)しているWebアプリケーションにログインしようとすると、次のサーバーエラーが発生することです。私は私のブラウザとしてInternet Explorerを使用するとき、私はこれを取得しません。それを修正するために私は何ができますか?Firefox Developer Editionでのデバッグでは、WSFederationMessageExceptionが発生します。ID3204

Server Error in '/XXX.YYY' Application. ID3204: WS-Federation SignIn request must specify a 'wtrealm' or 'wreply' parameter. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.IdentityModel.Protocols.WSFederation.WSFederationMessageException: ID3204: WS-Federation SignIn request must specify a 'wtrealm' or 'wreply' parameter.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[WSFederationMessageException: ID3204: WS-Federation SignIn request must specify a 'wtrealm' or 'wreply' parameter.]
Microsoft.IdentityModel.Protocols.WSFederation.SignInRequestMessage..ctor(Uri baseUrl, String realm, String reply) +271
Microsoft.IdentityModel.Protocols.WSFederation.WSFederationMessage.CreateFromNameValueCollection(Uri baseUrl, NameValueCollection collection) +753
Microsoft.IdentityModel.Protocols.WSFederation.WSFederationMessage.TryCreateFromUri(Uri requestUri, WSFederationMessage& fedMsg) +57
Microsoft.IdentityModel.Web.WSFederationAuthenticationModule.GetSignOutCleanupMessage(HttpRequest request) +34
Microsoft.IdentityModel.Web.WSFederationAuthenticationModule.CanReadSignInResponse(HttpRequest request, Boolean onPage) +188
Microsoft.IdentityModel.Web.WSFederationAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs args) +85
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1590.0

答えて

1

解決策が見つかりました。問題は、デフォルトでFirefox Developer EditionがIEのようにWindows NT LAN Manager(NTLM)プロトコルで認証されないということでした。

  1. オープンFirefoxのデベロッパー版とタイプ約に:アドレスバーに設定だから、あなたはそうするように設定する必要があります。 に警告が表示されます。 「私はリスクを受け入れる!」をクリックします。ボタン。
  2. アドレスバーのすぐ下にあるブラウザの上部にある[検索]フィールドを使用して、network.automatic-ntlm-auth.trusted-uris設定パラメータを検索します。
  3. 設定パラメータの名前をダブルクリックするか、右クリックして[変更]を選択します。
  4. 認証に問題があるサイトのURLを入力します。認証は、サイトごとのサイト上で動作するため、任意の特定のページへのポート番号やパスを指定する必要はありません https://localhost

:フォーマットを使用します。カンマ区切りで複数のサイトを指定できます。今、私がローカルでデバッグしようとしていた私のXXX.YYYウェブアプリケーションがうまく動作し、認証されます!

+0

この問題を解決したことを知ってうれしいことですが、可能であれば、あなたの解決策を回答としてマークすることができます。あなたの共有に感謝します。 –

関連する問題