当前位置: 首页 > 图文教程 > 网络编程 > ASP.NET > ASP.Net不执行问题一解

ASP.NET
C#教程:简化的初始化
C#教程:隐式类型的局部变量
ASP.NET 2.0教程:Bind标签和Eval标签
用C#语言获取CPU利用率
ASP.Net实例:直接在邮件中内联附件内嵌图片
ASP.NET教程:性能优化的方法
ASP.NET开发方式的四层架构的Web应用系统构造
BasicHTTP-唯一能直接与Java交互的方式
ASP.NET教程:截取字符串
如何用ASP.NET实现多附件上传?
.Net程序员必读:八个实用网站推荐
.NET环境下为网站增加IP过滤功能
在.Net框架类库中如何使用定时器类
Asp.net是可以帮你实现Urlrewrite的
.NET开发过程中易被忽视的问题
ASP.NET教程:多个Set排列算法
c# 分布式事务以及MSDTC
解决ASP.NET2.0网站中对路径访问被拒绝问题
ASP.NET通过WMI创建站点添加虚拟目录和主机头
VS 2008完美地支持JavaScript和ASP.NET AJAX

ASP.NET 中的 ASP.Net不执行问题一解


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-10-11   浏览: 45 ::
收藏到网摘: n/a

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