HostWeb Forums » Microsoft Server Operating Systems » microsoft.public.win2000.developer » MQOpenQueue Problem...

Topic: MQOpenQueue Problem...

Reply | New Topic | This is SPAM | This is Offensive

Submitted: 8/20/2007 3:21:13 PM

By:
Hi:

When I try to open a local private queue from a app on the same
machine... I'm getting : MQ_ERROR_ACCESS_DENIED


this is what the open looks like....
hr = MQOpenQueue(wszFormatName,
MQ_RECEIVE_ACCESS,
MQ_DENY_NONE,
&hQueue);


However, when I simply change the flag to MQ_SEND_ACCESS (the
following example) it opens successfully.... so I know it's not a
"naming format issue".....


hr = MQOpenQueue(wszFormatName,
MQ_SEND_ACCESS,
MQ_DENY_NONE,
&hQueue);


Note: This queue was not created via code... It was created via
Control Panel\Computer Management\Services and Applications\Message
Queing
as a local, private, non transactional queue with default
settings...
(windows xp (latest svc packs..)


I would appreciated another set of "experienced" eyes... Many thanks
in advance...


Replies below ↓
Contents
Home
Forums
About Us
Contact Us
Web Hosting:
Hosting Providers
How to choose a name
What is a Hosting Provider
Hosting Types
Choosing the right plan
 
Search
 
Login to HostWeb.com
Email
Password
If you do not have an account with us yet, join now - it's FREE!