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

AspNet技术ASP.Net不执行问题一解,转载需保留来源!

郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。