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 asp.net on IIS using command prompt utility aspnet_regiis.exe which comes with Microsoft Framework.
Below is the command install asp.net

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

and to uninstall asp.net from IIS use

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


No comments: