I am attempting to install the ASP.NET 4.0 runtime to IIS by running the following command:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
But each time I do, I receive the following error message:
An error has occurred: 0x8007b799
You must have administrative rights on this machine in order to run this tool.
I am running Windows 7. I run the command prompt with elevated rights (run as admin and accept UAC prompt) but still get this error.
I have checked for the correct rights on the folder containing the aspnet_regiis.exe tool (Full Administrative rights), but still this message persists!
Any suggestions as to what I am missing?