IIS6.0中,使用其它用户运行IIS 1. Add the account to th
1. Add the account to the Users group.
2. Add the account to the Debugger Users group.
3.
If you:
Add your account to:
Use Terminal Services to connect to the machine remotely
Remote Desktop Users group
Develop and debug local Web applications and you are using Windows Server 2003
IIS_WPG group
Note If you develop and debug local Web application using Windows XP Professional, use the following procedure to add the Log on as Batch Job privilege to your account.
Debugging Web Applications
There are two conditions for debugging of Web applications: running ASP.NET as your restricted login account and directory permissions. For the set of directories you will need to add read or write access to, refer to the following table.
Directory
Permissions needed in the directory and all of its children
%WINDIR%\Temp
Read and Write
%INSTALLROOT%
Read
%INSTALLROOT%\ASP.NET Temporary Files
Read and Write
Note %INSTALLROOT% is of the form D:\WINDOWS\Microsoft.NET\Framework\v1.0.3705 and %WINDIR% is of the form D:\WINDOWS.
Enabling ASP.NET to run as another user on Windows Server 2003
With Windows Server 2003 and IIS 6, there is a new feature named application pools. Each pool can be configured to run as a different user, provided that user has membership in the IIS_WPG group. Virtual roots can be added to an application pool, and the debugger will then be able to attach to it if the pool is running as the same user that launched the debugger. This mechanism provides an easy way to set up an alternate execution environment, safely protect user credentials, and set up additional virtual roots.
Adding and Configuring an Application Pool
1. Run the Management Console compmgmt.msc as an administrative user.
2. Expand the Services and Applications node to display the Internet Information Services, and Application Pools nodes.
3. Right-click the Application Pools node, choose New, and then choose Application Pool.
4. Type the name for the Application Pool and click OK.
5. Right-click on the new Application Pool and choose Properties.
6. Under the Identity tab, choose the Configurable option.
7. In the corresponding boxes, enter the User name and Password that you will be running the debugger with and click OK.
Note This account must be a member of the IIS_WPG group and have the access permissions listed above in order to run ASP.NET applications.
Setting a Virtual Root to run in an Application Pool
1. Run the Management Console compmgmt.msc as an administrative user
2. Expand the Services and Applications node to display the Internet Information Services, Web Sites, and Default Web Site nodes.
3. Expand the Default Web Sites node to display all of the virtual roots available.
4. Right-click on the virtual root to configure and choose Properties.
5. On the Virtual Directory tab, change the Application Pool drop-down to select the application pool running with the appropriate user identity and click OK.
相关阅读:
android getContext()
android DB notify
android 调用系统截图
调用新浪微博客户端发送图片
Hadoop 面试 小结
HADOOP 安装HIVE
ORACLE ArcSDE Lock request conflicts with an established lock
OBIEEClusterControler通信的问题
ORACLE RAC 集群的启动和关闭
HADOOP 配置Tip 配置hadoop.tmp.dir原文地址:https://www.cnblogs.com/huqingyu/p/756650.html
最新文章
Nodejs 发送HTTP POST请求实例
Redis 下key的过期时间详解
用issnode+IIS来托管NodeJs Server之二:移植
用issnode+IIS来托管NodeJs Server之三:加入Windows集成验证功能
我的asp.net开发经验
asp.net TreeView 一些操作
使用C#创建SQL Server的存储过程
网站换肤 ASP.NET2.0 Themes
PowerDesigner入门三:PowerDesigner仅仅是实现的工具
PowerDesigner入门一:Oracle、MSSQL2000导出数据库结构到PowerDesigner
热门文章
SQL 命令整理
PowerDesigner入门二:如何一次性将表结构的脚本导出来?
PowerDesigner入门四:显示更多字段信息
asp.net数据库操作技巧例子,改变sql语句
Useful Links
AudioManager 播放声音
android GIF
TextMate添加Erlang支持
信息系统项目管理师论文模版
Erlang logcat