Welcome to Tech-Review.Org Sign in | Join | Help

.net_2.0

My coding blog entries. Typically will either be more complex coding examples or overcoming product issues / troubleshooting resolutions.
Unable to use ASPNET_REGIIS -I for installing Asp.Net 2.0 on Vista / Windows 2008

Vista and Windows Server 2008 have radically re-shaped the simplistic handling of IIS functions and features in terms of both interface and ability to capitalize on cmd line options.  In the previous blog entry I outlined the issues I had with uninstalling the Microsoft Device Emulator to properly install VS 2008 on a x64 system.  During that process - I uninstalled .Net 2.0 which rendered IIS useless for hosting my applications.

 

The issue is - >Net 2.0 does not recognize IIS7.  With IIS 5 and 6 it was common to do the command line aspnet_regiis -i and re-install or repair .Net 2.0.  Since .Net 3.0 and 3.5 are integrated into Vista and Windows Server 2008, one can install .Net 3.0 no problem but there are no such commands for .Net 2.0.  CMD line options will indicate that that a supported IIS server is not found. 

 

So the work around is as such:

 

Open Server Manager

Scroll to Roles Summary

Click on the Web Server(IIS) Icon 

It will open up a new WMI interface

Scroll down to Role Services

Select remove - to uninstall IIS.

Repeat to Install IIS - in which case now .Net 2.0 will also be installed if you select the appropriate Application Develoment -> ASP.Net  option....

 

Unfortunately I know of no other short-cut...but that will allow the re-install of Asp.Net 2.0 (Not it does not install .Net 3.5 on its own - just core 3.0 and 2.0 files)... 

 

Posted: Saturday, March 08, 2008 3:07 PM by Jody

Comments

No Comments

New Comments to this post are disabled