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

ASP.NET
asp.net DiscuzNT登录,退出的代码
ASP .NET中执行控件(如ImageButton、LinkButton等)命令不刷新页面
Microsoft SQL Server 2005 Express 远程访问设置详述,100%成功篇
使用.NET命令行编译器编译项目(如ASP.NET、C#等)
asp.net 去除viewstate
asp.net repeater实现批量删除
asp.net安全、实用、简单的大容量存储过程分页
asp.net 获取图片高度和宽度实例代码
在GridView中LinkButton的属性的应用(如何不用选中就删除这一行)
关于.net(C#)中的跨进程访问的问题
asp.net request.PathInfo实现的url重写
asp.net SqlDataReader绑定Repeater
ASP.NET 动态写入服务器端控件
Discuz .net版本中的短消息系统
asp.net动态加载用户控件,关于后台添加、修改的思考
.net Cookies安全性实践分析
配置Visual Studio 以调试.net framework源代码
asp.net 大文件上传 之 改版了的SlickUpload.HttpUploadModule(Krystalware.SlickUpload.dll)
asp.net Web站点风格切换的实现
asp.net 用户控件中图片及样式问题

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-10-11   浏览: 44 ::
收藏到网摘: 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