我有使用net.msmq協議的wcf服務,但服務無法激活並出現以下錯誤。什麼可能是錯的? 看起來它試圖找到機器或AD中的東西,但爲什麼? 服務隊名如同net.msmq://localhost/private/myservice.svc A connection with Active Directory cannot be established. Verify that there are su
如何判斷遠程消息隊列exists?該文檔指出「Exists」方法不適用於遠程機器。 下是無效的(我知道隊列的路徑是準確的,因爲我能夠將消息發送到隊列):
if (!MessageQueue.Exists(@"FormatName:Direct=TCP:192.168.2.58\Private$\MyQueue"))
throw new InvalidOperationExceptio
如果我有這樣的服務定義: [PoisonErrorBehavior]
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall, ConcurrencyMode = ConcurrencyMode.Multiple)]
public class MsgQueue: IMsgQueue
{
public vo