問題なく書き込むことができるリモートプライベートキューがあります。処理のためにデータをプルするために、WASでホストされるWCFサービスを作成しようとしています。サービスをキューとは別のマシンに配置する必要があります。私は現在、ライティングサービスと同じサイトにあります-同じアプリプールですが、異なるアプリケーションです。
私がターゲットにしているキューは呼び出されPersistenceService/Log.svc
、トランザクションで認証されます。私のサービスはで実行されていhttp://appdev.me.com/PersistenceService/Log.svc
ます。以下に私のエンドポイントとバインディングが含まれています:
<bindings>
<msmqIntegrationBinding>
<binding exactlyOnce="true" durable="true" serializationFormat="Xml" maxReceivedMessageSize="2147483647"
closeTimeout="00:00:30" sendTimeout="00:00:30" receiveTimeout="00:00:30" timeToLive="24:00:00"
receiveRetryCount="1" maxRetryCycles="1" retryCycleDelay="00:10:00" receiveErrorHandling="Move">
<security mode="Transport" />
</binding>
</msmqIntegrationBinding>
</bindings>
<services>
<service name="Me.Logging.Persistence.PersistenceService">
<endpoint address="msmq.formatname:DIRECT=OS:DIRECT=OS:meserver\private$\persistenceservice/log.svc"
binding="msmqIntegrationBinding"
bindingNamespace="http://me.logging/services/2012/11"
contract="Me.Logging.Service.Shared.Service.Contracts.ICatchAll" />
</service>
</services>
私が得るエラーは以下の通りです:
An error occurred while opening the queue:The remote computer is not available. (-1072824215, 0xc00e0069). The message cannot be sent or received from the queue. Ensure that MSMQ is installed and running. Also ensure that the queue is available to open with the required access mode and authorization.
トラフィックをブロックしないようにマカフィーをシャットダウンして、通信の道を切り開きました。キューへのANONYMOUSLOGONアクセスを一時的に許可しましたが、キューに書き込んでいるのと同じユーザーとしてアクセスする必要があり、そのユーザーはキューに対する完全な権限を持っています。
WCFトレースは、このエラー以外は何も明らかにしません。どこを見ればよいかについてのアイデアは大歓迎です。