我刚在Windows Server 2003上安装了networking安全补丁。
我正在阅读它说创build一个asp.net模拟帐户的说明,但它没有给出任何细节如何(因为显然它是不同的每个版本的Windows)。
有谁知道如何创build这样的东西,所以我可以得到这个应用程序启动和运行?
对不起,我有点模糊。 我对整个webapp托pipe内部的东西很新,所以如果我遗漏了任何东西,请在评论中告诉我,我将编辑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
我自己并没有遇到这个问题,但根据MSDN( 链接 ),他们没有提及使用registry项来处理用于.NET 2.0的 web.config的能力。 但是,对于.NET v1.1,他们提到了registry项( 链接 )。
同样,由于我没有直接的经验,这个特定的错误,我认为ACL /权限可能是IIS无法从registry中读取的问题。 根据另一个MSDN文章他们提到:
任何Windows资源(如文件和registry项)都必须具有访问控制列表(ACL),以授予对进程标识的访问权限。
在有关ASP.NET v1.1模拟的文档中,他们特别提到:
您应该configuration对存储encryption凭据的密钥的访问权限,以便仅向pipe理员和SYSTEM提供访问权限。 因为密钥将被作为SYSTEM运行的ASP.NET进程读取,所以应该设置以下权限: – pipe理员:F
– 系统:F
– 创作者所有者:F
– ProcessAccount:R
希望这有助于导致修复/答案。