部署asp.net项目中的IIS权限问题 [英] IIS permission problem in deploying asp.net project

查看:127
本文介绍了部署asp.net项目中的IIS权限问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,
我有使用IBM Message Queue进行基于消息的通信的Asp.Net应用程序.当我使用Visual Studio运行应用程序时,它可以完美运行,但是当我在同一台计算机上的IIS中部署该应用程序时,它会显示一条错误消息,说明无法加载IBM Queue DLL文件.我以为这是权限问题,并且我已经为计算机上的所有用户至少授予了读写权限,但是它没有用.因此,请转发您的建议.
谢谢!

Dear Friends,
I have Asp.Net application that uses IBM Message Queue for message based communication. When I run the application using visual studio it works perfect but when I deploy it in IIS on the same machine it displays an error message that describes it couldn’t load IBM Queue DLL files. I thought it is issue of permission and I have given at least read write permission for all users on the machine but it didn’t work. So please forward your suggestions.
Thanks!

推荐答案

您是否已检查iis用户是否有权使用该foldeR?


如果通过IIS运行,则必须授予iisusrs对该文件夹的权限.

转到您拥有xml的文件夹,然后单击属性"->安全"标签->编辑">添加".

位置->选择您的计算机名称
输入要选择的对象,然后输入iis_iusrs.
单击确定.
然后选中完全控制-允许"复选框

保存它.现在,iis用户将有权在该文件夹内的任何文件中进行任何更改
Have you checked iis users have permission to that foldeR?


If you are running through IIS, u have to give permission to iisusrs to that folder.

Go to the folder where you have your xml and click on properties->Security tab->Edit>Add.

Location->select ur machine name
Enter the object u neeed to select , enter iis_iusrs.
Click on ok.
Then select Full control-Allow checkbox

Save it.Now iis users will have permission to make any changes in any files inside that folder


这篇关于部署asp.net项目中的IIS权限问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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