Hi all,
I am trying to access message queue which is on remote server (public server).
I am getting the following exception.
Message:
The specified format name does not support the requested operation. For example, a direct queue format name cannot be deleted.
Stack Trace:
at System.Messaging.MessageQueue.MQCacheableInfo.get_ReadHandle()
at System.Messaging.MessageQueue.StaleSafeReceiveMessage(UInt32 timeout, Int32 action, MQPROPS properties, NativeOverlapped* overlapped, ReceiveCallback receiveCallback, CursorHandle cursorHandle, IntPtr transaction)
at System.Messaging.MessageQueue.ReceiveCurrent(TimeSpan timeout, Int32 action, CursorHandle cursor, MessagePropertyFilter filter, MessageQueueTransaction internalTransaction, MessageQueueTransactionType transactionType)
at System.Messaging.MessageQueue.Receive()
at HTTPMSMQdemo.clsMSMQ.ReadMessage()
I am using the following format to receive message
"FormatName:DIRECT=HTTP://183.82.48.5/MSMQ/testwcf2";
"FormatName:Direct=TCP:183.82.48.5\testwcf2;
Can any one help me to resolve my problem??
Thanks in advance...
Rama Kumar Dakka