当我离开并重新连接到办公室网络时,为什么必须重新安装MSMQ? [英] Why do I have to re-install MSMQ when I come off and back on to the office network?

查看:81
本文介绍了当我离开并重新连接到办公室网络时,为什么必须重新安装MSMQ?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个非常令人沮丧的问题,即使它已安装并启动,MSMQ仍然不断拒绝工作.

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

我在Vista商务笔记本电脑(MSMQ-Container; MSMQ-Server; MSMQ-Triggers; MSMQ-DCOMProxy)上安装了MSMQ,并且此笔记本电脑已加入公司域.注册表显示它安装在工作组模式下,这对我来说很好,因为我只想直接连接到专用队列(使用完整的FormatName(基于TCP)),而不必担心AD集成.

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.

当我拔出插头回家后,MSMQ似乎正在运行(该服务仍在运行),但是我所有尝试连接到队列的尝试均因服务不可用"异常而失败.我的.NET应用程序,COM,QueueExplorer应用程序都尝试过,并且都说相同.此外,计算机管理"中的MSMQ内容也消失了.

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.

然后,当我到达办公室时,必须将MSMQ卸载并重新安装才能插入办公室网络!

Then when I get to the office, I have to uninstall MSMQ and re-install for it to work when plugged into the office network!

有人有什么想法吗?我以为这可能与NIC和IP地址更改等有关?目前,MSMQ似乎真的不错.

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.

谢谢!

推荐答案

当我使用MSMQ时,我记得有很多次遇到该错误(服务不可用/正在等待连接),并且通常在重新启动后可以使用客户端和服务器计算机.原来,这是一个MSMQ服务器错误,我设法通过安装此Microsoft修补程序使一切正常,虽然我不知道他们现在是否已将修补程序作为Windows更新的一部分,但还是值得尝试的.调试MSMQ会让您发疯,根据我的经验,无论最初看起来多么可笑和牵强附会,您都应该蛮力尝试每个建议的修复程序.

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.

有Microsoft MSMQ修补程序列表

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

这篇关于当我离开并重新连接到办公室网络时,为什么必须重新安装MSMQ?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆