Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Occasional error on win2k machine posting to win2003 message queue

1 view
Skip to first unread message

AndyG

unread,
Feb 18, 2008, 7:16:01 AM2/18/08
to
I have the following situtation

SERVERA = Win 2003 server SP1 (Its actually an SBS server that's running AD,
SQL, SharePoint etc)
- message queuing + AD integration + downlevel client support installed &
enabled.

SERVERB = Win 2000 server SP4
- message queuing enabled as dependent client talking to SERVERA.

On SERVERB, we have a .NET application that writes to the public message
queue on SERVERA.

Most of the time this works correctly but occasionally our .NET application
receives a MessageQueueException - "A connection with Active Directory cannot
be established. Verify that there are sufficient permissions to perform this
operation." when it calls
System.Messaging.MessageQueue.ResolveFormatNameFromQueuePath.

Now I repeat this is an occasional message - for the majority of the time,
messages are correctly sent to SERVERA's message queue.

Does anyone have any ideas why this might be happening? Thanks in advance.

Andy
K3 Business Technology Group plc

Muhammed Ismail (MSFT)

unread,
Feb 18, 2008, 3:51:01 PM2/18/08
to
Hi AndyG,

It sounds like you're using Public queues. Most likely you're encountering
some problem contacting the Domain Controller, either due to network
connectivity, security or some other condition that happens infrequently.

You could switch to using Private queues, or use FormatNames to access your
existing Public queues. This will bypass Active Directory and should prevent
you from getting the error. Alternatively, you need to figure out why you
can't access AD intermittently. Getting a netmon trace, or seeing if some
other AD enabled app can reach the DC at the same time that you're getting
the MSMQ error should help you figure out if it's a server side issue (DC) or
something else.

Andy Gray

unread,
Feb 19, 2008, 3:34:42 AM2/19/08
to
Thanks Muhammed

I will research FormatNames and give them a try - I think it would be a good
idea if I can bypass AD since the SBS box is running MicrosoftCRM as well so
it gets occassional short bursts of traffic which may be when the other
machine is failing to contact it.

Kind regards
Andy

"Muhammed Ismail (MSFT)" <MuhammedI...@discussions.microsoft.com>
wrote in message news:4CFBC971-3719-4D56...@microsoft.com...

Muhammed Ismail (MSFT)

unread,
Feb 19, 2008, 10:41:02 AM2/19/08
to
There are some methods which aren't compatible when using format names.
Check MSDN, and as it should indicate which methods support remote private
queues. Basically the methods that don't work are the ones that use AD
behind the scenes (like checking if a remote queue exists, there's no
guarantee that the remote machine is online so we check AD). Let us know if
you run into any problems.
0 new messages