ASP.NET 模仿?

ASP.NET 模仿?

我刚刚在我的 Windows Server 2003 上安装了 Act premium for web。

我正在阅读有关创建 asp.net 模拟帐户的说明,但它没有提供任何有关如何操作的详细信息(因为显然每个版本的 Windows 都不同)。

有谁知道如何创建这样的东西,以便我可以启动并运行这个应用程序?

抱歉,我说得有点模糊。我对整个内部托管 webapp 的事情还不太熟悉,所以如果我遗漏了什么,请在评论中告诉我,我会编辑 OP。

更新:这是我从页面得到的错误

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Error reading configuration information from the registry.

Source Error:

Line 61:        <httpRuntime executionTimeout="1200" maxRequestLength="102400"/>
Line 62: 
Line 63:     <identity impersonate="true" userName="registry:HKLM\Software\AspNetProcess\ASPNET_SETREG,userName" password="registry:HKLM\Software\AspNetProcess\ASPNET_SETREG,password"/>
Line 64:        <pages enableViewState="true" enableSessionState="true" theme="ACT" autoEventWireup="false" validateRequest="false" enableEventValidation="false">
Line 65:            <controls>


Source File: C:\Program Files\ACT\ACT for Web\APFW\web.config    Line: 63 

答案1

我自己没有遇到过这个问题,但是根据 MSDN(关联)他们没有提到使用 web.config 注册表项的能力对于 .NET v2.0。但是,对于 .NET v1.1,他们提到了注册表项(关联)。

再次,由于我没有直接遇到过这种特定的错误,我认为 ACL/权限可能是 IIS 无法从注册表读取的问题。根据另一个MSDN 文章他们提到:

任何 Windows 资源(例如文件和注册表项)都必须具有授予进程身份访问权限的访问控制列表 (ACL)。

在有关 ASP.NET v1.1 模拟的文档中,他们特别提到:

您应该配置对存储加密凭据的密钥的访问权限,以便仅向管理员和系统提供访问权限。由于密钥将由以系统身份运行的 ASP.NET 进程读取,因此您应该设置以下权限:- 管理员:F
- 系统:F
- 创建者所有者:F
- 进程帐户:R

希望这有助于找到解决方案/答案。

相关内容