I am trying to install ASP.net for IIS by using the Programs and Features, Turn Windows features on or off, Internet Information Services, World Wide Web Services, Application Development Features, and checking off ASP.NET and hitting OK. The program tries to install, but eventually fails and says, "An error has occurred. Not all of the features were successfully changed."
iis7.log shows this error:
[06/13/2013 16:03:35] [ ***** IIS 7.0 Component Based Setup ***** ]
[06/13/2013 16:03:35] "C:\Windows\System32\inetsrv\aspnetca.exe" /install /basic 2.0.50727.0
[06/13/2013 16:03:36] < !!FAIL!! > RegOpenKeyEx(HKLM\SYSTEM\CurrentControlSet\Services\ASP.NET_2.0.50727\Names) result=0x80070002
[06/13/2013 16:03:36] < !!FAIL!! > SetAccessToPerfCountersKeys() result=0x80070002
[06/13/2013 16:03:36] < !!FAIL!! > Installation failure, result=0x80070002
[06/13/2013 16:03:36] [ End of IIS 7.0 Component Based Setup ]
[06/13/2013 16:03:39] [ ***** IIS 7.0 Component Based Setup ***** ]
[06/13/2013 16:03:39] "C:\Windows\SysWOW64\inetsrv\aspnetca.exe" /install /basic 2.0.50727.0
[06/13/2013 16:03:39] < !!FAIL!! > RegOpenKeyEx(HKLM\SYSTEM\CurrentControlSet\Services\ASP.NET_2.0.50727\Names) result=0x80070002
[06/13/2013 16:03:39] < !!FAIL!! > SetAccessToPerfCountersKeys() result=0x80070002
[06/13/2013 16:03:39] < !!FAIL!! > Installation failure, result=0x80070002
[06/13/2013 16:03:39] [ End of IIS 7.0 Component Based Setup ]
Here are some of the programs that I have installed on that PC that might have something to do with the problem:
Microsoft .NET Framework 4 Client Profile
Microsoft Visual C++ 2010 x86...
Please help. Thanks,
Evan.