During a Prerequisite check of installing System Center Operations Manager (SCOM) 2007, you may notice that you receive an error displaying that ASP .Net 2.0 is not enabled. If .Net Framework 2.0 has been installed, this error will occur if the .Net Framework 2.0 was installed prior to the installation of Internet Information Services (IIS). To prevent this issue, ensure that IIS is installed prior to the installation of .Net Framework 2.0. To work around an existing issue, do the following:
- Navigate to C:\Windows\Microsoft.NET\Framework\v2.0.50727
- Type aspnet_regiis.exe –i –enable
Pat says
Awesome, thanks for that!!!
@sigwo says
Make sure you run the install as Administrator. If you do not, none of the above will get rid of the error.
DaveG says
Or C:WindowsMicrosoft.NETFramework64v2.0.50727 if using 64bit
Todd says
when I tried it with the – instead of / I got the usage.
so – does not work in all cases.
So I ran it with the / and it says it finished installed ASP.NET 2.0.5.*
but I reran the prerequisite for SCOM and it still says ‘ASP.NET 2.0 required, verify it is installed.’
Do I need to reboot for the install to be recognized.
Danilo Arango says
aspnet_regiis.exe /i /enable
Elan Shudnow says
Either or works. Using the – is actually what's in the documentation and what I used. But ya, the / works as well.
http://msdn.microsoft.com/en-us/library/k6h9cz8h%…
Franziskus Schmid says
Dude that was excellent and has just saved me a lot of time. Kepp up the good work.
Franziskus