部署项目的问题 [英] problem with deploy project

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

问题描述

错误:读取IIS配置文件'MACHINE / REDIRE

CTION'时出错。执行该操作的身份是'abc-PC\abc'。

错误:文件名:\\?\ C:\ Windows \ system32 \inetsrv \ config \ redirection.config

错误:由于权限不足而无法读取配置文件

Error: An error occurred when reading the IIS Configuration File 'MACHINE/REDIRE
CTION'. The identity performing the operation was 'abc-PC\abc'.
Error: Filename: \\?\C:\Windows\system32\inetsrv\config\redirection.config
Error: Cannot read configuration file due to insufficient permissions

推荐答案

将所有当前用户的权限授予相关文件夹和文件从文件夹属性。如果不成功,请检查您的应用程序池。它可能没有为您当前的用户分配。
Give All the current user Permissions to relevant Folder and the file from folder properties. If it is not success check your Application pool. It may have not assigned for your current user.


您是否添加了应用程序池标识?

如果不是plz使用以下步骤



打开IIS管理器。有关打开IIS管理器的信息,请参阅打开IIS管理器(IIS 7)。



在连接窗格中,展开服务器节点,然后单击应用程序池。



在应用程序池页面上,选择要为其指定标识的应用程序池,然后单击操作窗格中的高级设置。



对于Identity属性,单击...按钮打开应用程序池标识对话框。



如果要使用已构建-in帐户,选择内置帐户选项,然后从列表中选择一个帐户。



如果要使用自定义标识,请选择自定义帐户选项,单击设置以打开设置凭据对话框。然后在用户名文本框中键入自定义帐户名,在密码文本框中键入密码,在确认密码文本框中重新键入密码,然后单击确定。



单击确定关闭应用程序池标识对话框。
Did You add Application pool Identity ?
if Not plz use following steps

Open IIS Manager. For information about opening IIS Manager, see Open IIS Manager (IIS 7).

In the Connections pane, expand the server node and click Application Pools.

On the Application Pools page, select the application pool for which you want to specify an identity, and then click Advanced Settings in the Actions pane.

For the Identity property, click the ... button to open the Application Pool Identity dialog box.

If you want to use a built-in account, select the Built-in account option and select an account from the list.

If you want to use a custom identity, select the Custom account option and click Set to open the Set Credentials dialog box. Then type the custom account name in the User name text box, type a password in the Password text box, retype the password in the Confirm password text box, and then click OK.

Click OK to dismiss the Application Pool Identity dialog box.


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

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