如何在IIS7中更改应用程序权限? [英] How do I change application rights in IIS7?
本文介绍了如何在IIS7中更改应用程序权限?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的应用程序必须以编程方式创建网站。应用程序工作正常,直到代码ServerManager manager = new ServerManager(),这里是重定向到登录页面。我认为问题是应用程序没有管理权限。谁熟悉IIS7,请帮帮我。
提前致谢!
解决方案
在IIS中运行的应用程序
使用所谓的应用程序池标识运行。
这是默认值。
请阅读:
http://www.iis.net/learn/manage/configuring-security / application-pool-identityities [ ^ ]
如果你的应用程序池是DefaultAppPool
你必须为用户分配权限IIS AppPool \\ \\DefaultAppPool
您还可以分配不同的身份,例如本地系统
My application have to create sites programmatically. Application worked just fine until code "ServerManager manager = new ServerManager()", here is making redirect to login page. I think the problem is that application do not have administration rights. who is familiar with IIS7, please help me.
Thanks in advance!
解决方案
An application running in IIS
runs with a so-called Application-Pool Identity.
This is the default.
Please read:
http://www.iis.net/learn/manage/configuring-security/application-pool-identities[^]
If your application pool is "DefaultAppPool"
you must assign rights to user "IIS AppPool\DefaultAppPool"
You can also assign a different identity e.g. LocalSystem
这篇关于如何在IIS7中更改应用程序权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文