過去数か月間 MSMQ が機能していましたが、突然次のエラー メッセージが表示されます。
Message Queue service is not available.
これは、ライブでテストするときにローカルでテストすると、次のメッセージが表示されます。
Unable to validate data.
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: System.Web.HttpException: Unable to validate data.
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:
[HttpException (0x80004005): Unable to validate data.]
System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo, Boolean useLegacyMode, IVType ivType, Boolean signData) +4961431
System.Web.Security.MachineKey.Decode(String encodedData, MachineKeyProtection protectionOption) +194
System.Web.Helpers.AntiForgeryDataSerializer.Deserialize(String serializedToken) +120
[HttpAntiForgeryException (0x80004005): A required anti-forgery token was not supplied or was invalid.]
System.Web.Helpers.AntiForgeryDataSerializer.Deserialize(String serializedToken) +754
System.Web.Helpers.AntiForgeryWorker.Validate(HttpContextBase context, String salt) +199
System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor) +156
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +825488
System.Web.Mvc.Controller.ExecuteCore() +159
System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +335
System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +62
System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +20
System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +54
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +469
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +375
誰かがこの問題に遭遇したことがありますか?
編集: msmq の設定でいくつかの問題が発生しました。参照: MSMQ 作成エラー: ワークグループ インストール コンピュータは操作をサポートしていません / ユーザーの内部メッセージ キュー証明書が存在しません
私のセットアップには、負荷分散された 6 つのサーバーがあり、すべてに msmq がセットアップされています。ドメインはネットワーク サービスとしてセットアップされており、他に 2 つのサーバーが関与しています。メッセージを受信するドメイン コントローラーと、メッセージを受信する検索サーバーです。メッセージ - すべてのサーバーに問題があるか、特定の 1 つのサーバーに問題があるかはわかりません。Host ファイル (C:\Windows\System32\drivers\etc\Host ) を使用して、一度に各サーバーを指定して絞り込もうとしましたが、機能するかどうかは散発的であるように見えます。キャッシュを使用しているので、これが何かに影響するかどうかはわかりません...
ありがとう