We are running IIS7 on Windows Server 2008 R2 SP1, with websites running on .NET 2.0. The websites work fine except that global themes do not work. I went ahead and tried to do aspnet_regiis -c in the Framework64 directory and got
An error has occured: 0x80040154 Class not registered.
The error indicates that IIS is not installed on the machine.
Please install IIS before using this tool.
If you are wondering, the enabled32bitApps flag is off, so .NET x64 is used.
I went ahead and uninstalled (aspnet_regiis -u)
and reinstalled (aspnet_regiis -i
) .net in Framework64 folder successfully.
Afterwards I got same result trying to run aspnet_regiis -c
.
Does anyone have any idea what could be the problem here?