Hi Madhu,
In case that you want to remove .NET 2.0 from being used by IIS without removing it from Add/Remove Programs, you can try the following command line (just make sure that you are unistalling the right version of .NET):
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -ua
(Note: the -u switch formerly listed for this command removes .NET 2.0 from being used by IIS and then associates unregisterred applications to the highest installed version of .NET which would still be 2.0. By using -ua, it only removes the registrations.)
Then go back and re-register .NET 1.1 as mentioned on steps 1 a) and 2 b) above.
Then, make sure ASP.NET v1.1.4322 is allowed in Web Server Extensions:
- Go to IIS Manager (Administrative Tools/Internet Information Services (IIS) Manager).
- In the IIS Manager, go to Web Server Extensions and make sure that at least ASP.NET v1.1.4322 is allowed.
Note: There are cases where in addition to the fix provided in this article, you will need to edit HK-LM\Software\Microsoft\ASP.NET\RootVer to read "1.1.4322" before the InstallHelper would let you continue.
- a) Run the following command line to add the NS Web applications back to .NET 1.1.4322:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
(Note: The -i parameter installs this version of ASP.NET and updates scriptmaps at the IIS metabase root and for all scriptmaps below the root. Existing scriptmaps of lower versions are upgraded to this version.)
- b) Run the following command to restart IIS services:
iisreset
(Note: It will stop and restart IIS services in order to add the changes into IIS.)
Then the application is finished; test to see if it fixed the installation problem.