hi
i have taken this example
at http://msdn2.microsoft.com/en-us/library/ms180970.aspx
this is used to transfer messages between device and desktop queues
this application run ok
but it doesn't send the messages to desktop queue
i am using vs2005 and and emulator pocket pc-wm5.0
please suggest
thanks
arvind

MSMQ Book Order Application Sample
GreenLeyland
hi
i have installed msmq service on my emulator and it is running
but sir i want to just send messages to remoting queue that is to desktop pc queue ,on desktop msmsq service is also running
whenever i send messages no error comes but queue doesn't get the messages as queue exists on my system
i am using MSMQ Book Order Application Sample at url http://msdn2.microsoft.com/en-us/library/ms180970.aspx
in a brief i am not able access desktop pc or their queues from emulator
i am pocketpc-wm5.0 as emulator and vs 2005
plz suggest and give sample example or when u will online sir
thanks
arvind
Mystret
hi
my problem is that i want send messages from devices to queues on desktop
i it doesn 't require to install msmq on my device
msmq service is running on my desktop application my desktop pc is not accessible from my emulator
plz suggest
regards
arvind
Dorisdvu
Any use of MSMQ on device require you to install MSMQ service, whatever you want to send message from device to desktop, from desktop to device or even within the device. Without that you would get an exception saying "MSMQ is not installed". Your desktop needs MSMQ installed as well if you want to exchange messages in any direction. So make sure to install and properly configure MSMQ service on device, see MSDN article on MSMQ CE on how to do that and/or link below:
http://blogs.msdn.com/ihimmar/archive/2004/06/14/154909.aspx
StevenR2
You have to install and properly configure MSMQ service on your device. Have you done that
RhysDavies
Hey arvind,
Just wondering if you solved the issue you described above. I'm having the EXACT same problem, and if you had a solution, I was hoping you'd share. Thanks!
donbox5
There’s visadm utility in standard MSMQ CAB for WM:
http://blogs.msdn.com/marcpe/archive/2006/02/01/522112.aspx
Also you can read entire Mark’s blog (link above), I think in part 3 he describes how to install and configure MSMQ programmatically.
venp
i have configured msmq on my emulator pocketpc-wm 5.0 (Installation in Workgroup mode -> only private queues)
MSMQ daemon installed.
NETREG daemon installed.
MSMQ configured.
Default Quota: 256
Port: 1801
Ping Port: 3527
QM GUID: 3937ae3f-61ea-28cb-015c-3f9d03388271
Network tracking: enabled
Start At Boot: yes
Base Dir: \Application Data\Volatile\MSMQ
Base Dir exists. Contents:
$localhost$ - 3937ae3f-61ea-28cb-015c-3f9d03388271.iq
$localhost$ - 3937ae3f-61ea-28cb-015c-3f9d03388271.jq
$localhost$ - order_queue$.iq
strings.dat
sequence.dat
MQLOGFILE.TXT
$localhost$ - MyQueue.iq
$localhost$ - MyQueue.jr
NETREG configured.
Cycle duration: 300
Use Redirector's netBIOS: yes
Track network: yes
Windows CE 5.01 (Build 1700, 3) - MSMQ 4.2002 (Build 0), MSMQ_CE
DISCONNECTEDWindows CE 5.01 (Build 1700, 3) - MSMQ 4.2002 (Build 0), MSMQ_CE
DISCONNECTED
All diffrent namings tried(to create MessageQueue object)FormatName:DIRECT=OS:MachineName\Private$\QueueName ,FormatName:DIRECT=TCP:IPAddress\Private$\QueueName,MachineName\Private$\QueueName).
on PDA I get "the queue does not exist or you do not have sufficient permissions to perform the operation"
on PC I can create MessageQueue object with direct:TCP... but all attributes of it show:
"The specified format name does not support the requested operation. For example, a direct queue format name cannot be deleted."
System.Runtime.InteropServices.ExternalException {System.Messaging.MessageQueueException}
sending messages succeeds but on PDA nothing arrives.
Intranet in company, all ports open, no router/firewall.
What could be wrong
Thanks a lot for any help! as it is urgent
mr4100
hi
u have asked to install following msmq service to start on device
but i am using pocket pc-wm5.0 emulator how i will configure these features on emulator
because these is no visadm utility present on this emulator
also there is no command prompt utiliity to install these features
sir can u give visual representation to configure these features on pc-wm5.0 emulator
and my target platform is wince 5.0 devices
msmqadm.exe register install
msmqadm.exe register
msmqadm.exe enable binary (Enable the proprietary MSMQ binary protocol to send messages to remote queues)
msmqadm.exe enable srmp (Enable the SRMP (SOAP Reliable Messaging Protocol) for sending messages to remote queues over HTTP)
msmqadm.exe start
sir u have also asked configure desktop msmq to allow for incoming connection can u give visual represntation for same
plz provide as it is urgent for me
regards
arvind
Steveinbeloit
i have configured msmq on my emulator pocketpc-wm 5.0 (Installation in Workgroup mode -> only private queues)
MSMQ daemon installed.
NETREG daemon installed.
MSMQ configured.
Default Quota: 256
Port: 1801
Ping Port: 3527
QM GUID: 3937ae3f-61ea-28cb-015c-3f9d03388271
Network tracking: enabled
Start At Boot: yes
Base Dir: \Application Data\Volatile\MSMQ
Base Dir exists. Contents:
$localhost$ - 3937ae3f-61ea-28cb-015c-3f9d03388271.iq
$localhost$ - 3937ae3f-61ea-28cb-015c-3f9d03388271.jq
$localhost$ - order_queue$.iq
strings.dat
sequence.dat
MQLOGFILE.TXT
$localhost$ - MyQueue.iq
$localhost$ - MyQueue.jr
NETREG configured.
Cycle duration: 300
Use Redirector's netBIOS: yes
Track network: yes
Windows CE 5.01 (Build 1700, 3) - MSMQ 4.2002 (Build 0), MSMQ_CE
DISCONNECTEDWindows CE 5.01 (Build 1700, 3) - MSMQ 4.2002 (Build 0), MSMQ_CE
DISCONNECTED
i have used enable binary protocol to send messages to remote queue ,also tried on enable srmp protocol but it fails too
on run commmand of visam utility
All diffrent namings tried(to create MessageQueue object)FormatName:DIRECT=OS:MachineName\Private$\QueueName ,FormatName:DIRECT=TCP:IPAddress\Private$\QueueName,MachineName\Private$\QueueName).
on PDA I get "the queue does not exist or you do not have sufficient permissions to perform the operation"
on PC I can create MessageQueue object with direct:TCP... but all attributes of it show:
"The specified format name does not support the requested operation. For example, a direct queue format name cannot be deleted."
System.Runtime.InteropServices.ExternalException {System.Messaging.MessageQueueException}
sending messages succeeds but on PDA nothing arrives.
Intranet in company, all ports open, no router/firewall.
What could be wrong
Thanks a lot for any help! as it is urgent
Joshizzle
Yes, that's how MSMQ works - your application sends a message and MSMQ service delivers is whenever it could. You won't get an error even if message is undeliverable, e.g. sent to none existing host or even if device has no network at all. You can configure timeouts and get notified of expired messaged, but there’s no error right away.
As to no messages been delivered, do you have network connection setup between your desktop and emulator Is it cradled or (better) have virtual network adapter configured Have you configured MSMQ on device to allow binary delivery protocol Have you configured desktop MSMQ to allow for incoming connections Do you have firewall of some kind If so, is it properly configured Can you send message from another desktop
You already have a sample, just need to configure everything properly so it would work.