(无法启动 Aspnet_wp.exe)错误信息的解决办法

<script type="text/javascript">loadTOCNode(1, 'symptoms');</script>
当您尝试查看 ASP.NET 应用程序中的页面时,可能会收到以下错误信息:
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

 

原因

<script type="text/javascript">loadTOCNode(1, 'cause');</script>
出现此问题的原因是进程模型用户帐户(默认情况下为 ASPNET)没有所需系统文件和文件夹的正确用户权限,以便运行 ASP.NET 工作进程。

 

替代方法

<script type="text/javascript">loadTOCNode(1, 'workaround');</script>
要解决此问题,请验证该 ASPNET 帐户拥有如下所示的正确用户权限:
%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 帐户已被授予了用户组成员的用户权限。)

 

状态

<script type="text/javascript">loadTOCNode(1, 'status');</script>
请定期更改 ASPNET 帐户的密码。每次安装产品时会重新为 ASPNET 帐户设置密码。 这种现象是设计导致的。

 

参考

<script type="text/javascript">loadTOCNode(1, 'references');</script>
有关其他信息,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章:
323292 (http://support.microsoft.com/kb/323292/) FIX:计算机名称包含特定文字时无法浏览到 ASP.NET 页
315158 (http://support.microsoft.com/kb/315158/) FIX:ASP.NET 在域控制器上使用默认 ASPNET 帐户不能正常运行
317012 (http://support.microsoft.com/kb/317012/) ASP.NET 中的进程和请求标识
有关安全性和 ASP.NET 的详细信息,请访问下面的 Microsoft 网站:
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值