MSMQ无法删除或清除队列 [英] MSMQ cannot delete or purge a queue

查看:527
本文介绍了MSMQ无法删除或清除队列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是MSMQ的新手. 我们有一个使用MSMQ的关键系统,由于资源不足,它无法启动.看来MSMQ处于满负荷状态. 我正在尝试清除消息(甚至删除不必要的队列),但是清除时会收到以下错误消息:

I'm very new to MSMQ. We have a critical system using MSMQ and it is not able to start due to insufficient resources. It appears that MSMQ is at capacity. I am trying to purge messages (or even delete unneccessary queues), but I receive the following error when purging:

无法从队列中删除所有消息. 错误:拒绝访问消息队列系统.

Cannot delete all messages from queue. Error: Access to Message Queuing system is denied.

我有什么选择?服务关闭时是否可以删除队列?

What are my options? Is there a way to delete queues when the services is off?

推荐答案

如果在计算机上打开计算机管理",请展开服务和应用程序"节点(2008年功能),然后右键单击消息队列"服务.

If you open Computer Management on the machine, expand the Services and Applications node (Features on 2008) and right-click on the Message Queuing service.

右键单击属性"选项,然后将其打开到常规"选项卡.

Right click on the Properties option and open it up to the General tab.

您可以指定消息的存储限制-您可能已经遇到了消息存储的上限.如果暂时增加此值,则可能使您返回到消息传递系统,以便清除这些队列并恢复操作.

You can specify storage limits for messages -- you may have ran into the upper limit for messages storage. If you temporarily increase this value, it may allow you back into the messaging system so you can purge out those queues and restore operation.

如果没有,如果您可以处理丢失的消息(如果您想清除的话,我想是可以的),则可以删除队列并重新创建它.

Failing that, if you can deal with the loss of the messages (which if you are trying to purge I presume is okay), maybe delete the queue and recreate it.

这篇关于MSMQ无法删除或清除队列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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