实用技巧

关注公众号 jb51net

关闭
首页 > 网络编程 > ASP.NET > 实用技巧 > asp.net问题

ASP.Net不执行问题一解

作者:

ASP.Net不执行问题一解
最近IIS突然无法运行ASP.Net了.反复重装也没有用.检查系统日志报告如下错误:
aspnet_wp.exe could not be started. The error code for the failure is
80004005. 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.

许多方法都不灵。最后用这个“药”解决问题。方子奉上供大家分享:
首先停止IIS服务
iisreset /stop 
然后删除 ASPNET 帐号 
net user ASPNET /delete 
重新注册 ASP.NET 和 ASPNET 帐号
aspnet_regiis -i 
启动IIS
iisreset /start
阅读全文