aspnet_wp.exe 无法启动 Framework2.0 错误代码C0000142机器上的aspnet_wp.exe不能够启动,手工启动也不行。查看操作系统的log文件,发现报的错误是:
aspnet_wp.exe could not be started. The error code for the failure is C0000142. 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.在网上找了很多解决方案,比如修改文件的权限等等,还是不行。请问谁有这个问题的解决方案。暂不考虑系统重装。谢谢。
aspnet_wp.exe could not be started. The error code for the failure is C0000142. 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.在网上找了很多解决方案,比如修改文件的权限等等,还是不行。请问谁有这个问题的解决方案。暂不考虑系统重装。谢谢。
解决方案 »
- 二级菜单调用问题
- 关于实体类的循环引用
- 编译不了,什么原因?
- B/S结构:有关上传CAD图纸文件到服务器,如何让用户在程序里可以打开浏览CAD图纸???
- GridView与repeater性能的比较
- 急,请大家帮帮忙。如何做弹出查找并取得返回值的窗口
- 自定义控件如何中如何添加html控件?
- 请各位推荐类似http://www.yyxxg.com/网站,有类似Tabs布局的这种!
- 在同一台电脑上,多个用户同时登陆时得到的Session是最后登陆的一个用户的信息,这个问题要怎么才能够解决啊??
- document.location=document.location是什么意思
- 参数很难懂,帮忙理清 Page.ClientScript.RegisterStartupScript(
- 指定转换无效 这是什么错误啊 各位大虾指点
你可以修改你文件的权限选定你的文件夹设置安全中Everyone
方法二
看看你发布的文件在那,iis选择的位置是否正确
CAUSEThis problem occurs because the process model user account (by default, ASPNET) does not have the correct user rights for the required system files and folders to run the ASP.NET worker process.WORKAROUND To work around this problem, verify that the ASPNET account has the correct user rights as follows:• %windir%\Microsoft.NET\Framework\Version\Temporary ASP.NET Files: Full Control
• %windir%\Temp: Full Control
• Application folder: Read
• %installroot% hierarchy (for example, %windir%\Microsoft.Net\Framework\Version): Read
• %windir%\Assembly: Read
see origional KB at : http://support.microsoft.com/default.aspx?kbid=811320
also, try this kb see if it's helpful to solve your problem: http://support.microsoft.com/default.aspx?scid=kb;en-us;315158
从http://forums.asp.net/t/1120036.aspx 偷来的。
重新用aspnet用户启动该文件即可。
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -iru就是参数为 -iru ,难道是我之前只用了 -r 所以解决不了问题?安装完提示重启之后肯定是没问题的,于是我又重启一次,一样的问题又出现了,
打开“运行”,执行 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -iru
执行完成,问题解决!
真是太爽了!