如何设置MSMQ的访问权限 [英] how to set access right of MSMQ

查看:485
本文介绍了如何设置MSMQ的访问权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨盖伊兹,

我在远程计算机上创建公共队列/专用队列时遇到问题,

这是我的代码:

HI Guyz,

i''n having a problem in creating a public queue/private queue in a remote computer,,

here''s my code:

foreach (var item in ConfigData.DestinationPath)
           {

               if (!MessageQueue.Exists(item.value))
               {
                   queue = MessageQueue.Create(item.value, true);
               }
               else
               {
                   continue;
               }
           }



这是错误:
拒绝访问消息队列系统.

我该怎么办?

谢谢,请帮助..



here''s the error:
Access to Message Queuing system is denied.

what shall i do?

thanks, pls help..

推荐答案

为"消息队列"的"网络服务"帐户提供完全权限. b>".

1)打开计算管理"控制台.
2)右键单击消息队列",然后单击属性".
3)选择安全性"选项卡,搜索"网络服务"帐户并为其提供完全权限.
Provide Full-Permissions to "Network Services" Account for your "Message Queueing".

1) Open "Compute Management" console.
2) Right Click on "Message Queueing" and click on Properties.
3) Select "Security" Tab, search for "Network Services" Account and provide Full-Permissions to it.


您需要具有超级用户权限(或)管理员在远程计算机上的访问权限以完成此操作.
You need to have the power user (or) administrator access rights in the remote machine to complete this operation.


这篇关于如何设置MSMQ的访问权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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