2012-12-13 5 views
0

원격 개인 큐가 있는데 문제없이 쓸 수 있습니다. 처리를 위해 데이터를 가져 오기 위해 WAS 호스팅 WCF 서비스를 만들려고합니다. 서비스가 대기열과 다른 시스템에 있어야합니다. 나는 현재 쓰기 서비스와 동일한 사이트에 있습니다. 동일한 애플리케이션 풀이지만 다른 애플리케이션입니다.원격 개인 큐에서 가져 오기를 시도 할 때 원격 컴퓨터를 사용할 수 없습니다.

대상으로 지정하는 대기열은 PersistenceService/Log.svc이고 트랜잭션 및 인증입니다. 내 서비스가 http://appdev.me.com/PersistenceService/Log.svc에서 실행 중입니다. 이 트래픽을 차단하지 그래서 맥아피를 종료하여

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. 

내가 통신 cleared the way이 : 나는 다음과 같습니다 얻을

<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> 

오류 : 아래는 내 엔드 포인트 및 바인딩이 포함되어 있습니다. 큐에 일시적으로 로그온하는 익명 로그온 권한을 부여했습니다. 큐에 쓰고있는 동일한 사용자로 들어오고 해당 사용자가 큐에 대한 모든 권한을 가지고 있어야합니다.

WCF 추적은이 오류 이외의 다른 것을 표시하지 않습니다. 어디서 볼지에 대한 아이디어는 대단히 감사하겠습니다.

+0

큐가 큐 판독기에서 멀리 떨어져 있어야하는 특별한 이유가 있습니까? –

+0

@hugh : 대기열이 Google 데이터 영역에 존재하며 읽기 애플리케이션이 서비스 (앱) 계층에 존재합니다. (그래서, 건축상의 이유.) – zimdanen

답변

2

엔드 포인트가 잘못 표시됩니다. 거기에 "DIRECT = OS :"가 두 번 있습니다. 시도해보십시오 :

<endpoint address="msmq.formatname:DIRECT=OS:meserver\private$\persistenceservice/log.svc" 
      binding="msmqIntegrationBinding" 
      bindingNamespace="http://me.logging/services/2012/11" 
      contract="Me.Logging.Service.Shared.Service.Contracts.ICatchAll" /> 
+0

와우. ...감사. – zimdanen