开发者

Why do I have to re-install MSMQ when I come off and back on to the office network?

I've got a really frustrating problem with MSMQ constantly refusing to work even though it's installed and started.

I have MSMQ installed on my Vista Business laptop (MSMQ-Container;MSMQ-Server;MSMQ-Triggers;MSMQ-DCOMProxy) and this laptop is joined to the company domain. Registry shows that it's installed under Workgroup mode which is fine by me as I only want to use direct connections to private queues (using a full FormatName (TCP based)) and could care less about AD integration.

When plugged into the office network all is well.

When I unplug and go home to work, MSMQ appears to be running (the service still runs) but all my attempts to connect to a queue fail with a "Service is Unavailable" exception. Tried with my .NET app, COM, QueueExplorer app and all say the same. Also the MSMQ stuff in Computer Management is gone.

The only way to get it back and working at home is to uninstall everything, and re-install it.

Then when I get to the office, I have to uninstall MSMQ and re-install for i开发者_Go百科t to work when plugged into the office network!

Anyone got any ideas? I had a thought that maybe this has something to do with NICs and IP addresses changing etc? MSMQ seems to be really flakey at the moment.

Thanks!


I recall running into that error (Service is unavailable/Waiting to connect) quite a few times when I was using MSMQ, and usually it would work after I restart both the client and server machines. Turns out that this was a MSMQ server bug, I managed to get everything working by installing this Microsoft hotfix, though I don't know if they've put the hotfix in as part of windows updates now, but it's wortha try. Debugging MSMQ can drive you nuts, from my experience you should do a brute force try every suggested fix, no matter how ludicrous and far fetched they might seem initially.

There is a list of Microsoft MSMQ hotfixes here, though it's pretty outdated.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜