Click here to Skip to main content
15,887,349 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Updated 17-Oct-11 2:33am
v3

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900