Wednesday, February 9, 2011

Installing and Uninstalling ASP.NET on IIS

It often occurs that IIS ASP.NET gets misconfigured or gets corrupted in such cases we can uninstall and reinstall on IIS using command prompt utility aspnet_regiis.exe which comes with Microsoft Framework.
Below is the command install

C:\Windows\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -i

and to uninstall from IIS use

C:\Windows\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -u

No comments: