访问asp.net页面时Server Application Unavailable
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable.Please hit the “Refresh” button in your web browser to retry your request.
Administrator Note:An error message detailing the cause of this specific request failure can be found in the system event log of the web server.Please review this log entry to discover what caused this error to occur.
还会在应用程序事件日志中显示以下错误信息:
aspnet_wp.exe could not be started.HRESULT for the failure:80070005
事件类型: 错误
事件来源: ASP.NET 1.1.4322.0
事件种类: 无
事件 ID: 1084
日期: 2005-12-10
事件: 0:00:44
用户: N/A
计算机: NHUCC1
描述:
aspnet_wp.exe could not be started. The error code for the failure is
80070545. This error can be caused when the worker process account has
insufficient rights to read the .NET Framework files. Please ensure
that the .NET Framework is correctly installed and that the ACLs on the
installation directory allow access to the configured account.
原因
替代方法
• | %windir%\Microsoft.NET\Framework\Version\Temporary ASP.NET 文件:完全控制 |
• | %windir%\Temp:完全控制 |
• | 应用程序文件夹:读取 |
• | %installroot% 层次结构(例如,%windir%\Microsoft.Net\Framework\Version):读取 |
• | %windir%\Assembly:读取
注意:这是全局程序集缓存。不能直接使用 Windows 资源管理器编辑此文件夹的 ACL。正确做法是,打开命令窗口,然后运行以下命令: cacls %windir%\assembly /e /t /p domain\useraccount:R
另外,在使用 Windows 资源管理器之前,请先运行以下命令以取消对 Shfusion.dll 的注册: regsvr32–u shfusion.dll
在 Windows 资源管理器中设置了用户权限后,请运行以下命令重新注册 Shfusion.dll: regsvr32 shfusion.dll
|
• | 网站根目录(例如,%root%\Inetpub\Wwwroot)或默认网站指向的路径:读取 |
• | %windir%\System32:读取 (通常情况下,ASPNET 帐户已被授予了用户组成员的用户权限。) |