最近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