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.在网上找了很多解决方案,比如修改文件的权限等等,还是不行。请问谁有这个问题的解决方案。暂不考虑系统重装。谢谢。

解决方案 »

  1.   

    C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
      

  2.   

    方法-。
    你可以修改你文件的权限选定你的文件夹设置安全中Everyone
    方法二 
    看看你发布的文件在那,iis选择的位置是否正确
      

  3.   

    帮你顶顶 ,我的IIS也出现这个问题 ,., 期待答案
      

  4.   

     msdn:
     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 偷来的。
      

  5.   

    问题原因很简单,启动aspnet_wp.exe文件的用户为SYSTEM
    重新用aspnet用户启动该文件即可。
      

  6.   

    我也遇到此问题,解决方法:C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_wp.exe 在右键该文件的属性-安全中,将asp.net计算机帐户的权限设为完全控制。
      

  7.   

    最近也是碰到这个问题,用了上面各位提到的各种办法,都无法解决,可只要重新安装一下dotnetframework就好了,但机子一重启就又不行了,真是奇了怪了!我在再次重装dotnetframework时,发现它快装完后运行了一个这个命令:
    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 
    执行完成,问题解决!
    真是太爽了!
      

  8.   

    解决办法详见:http://www.sytygfz.com/tianyuan/advertisement/Default.aspx