日期:2010-11-20  浏览次数:20374 次

各位好!最近帮助朋友装 VS 2005 Framework 2.0. I got:

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.

许多方法都不灵。最后用这个“药”解决问题。方子奉上供大家分享:


Running these commands solved the problem for me.

Echo Stop IIS

iisreset /stop
echo "----------------------"

echo "Deleting the ASPNET account."
net user ASPNET /delete
echo "----------------------"

echo "Reregistering ASP.NET and the ASPNET account."
aspnet_regiis -i

echo "Restarting IIS."
iisreset /start
echo "----------------------"