mO SharemO Share

How To: Reset ASP.Net with IIS

Sometimes the Microsoft .NET Framework will require a reset in order to update its files so that they are recognized by the web server and run the client side scripts. In such cases, Ginesys Web doesn’t open.

 

These issues can be solved by re-registering ASP.NET

 

On Windows Server 2008 R2

 

  1. Open the command prompt

  2. Go to your Microsoft .NET Framework folder by typing the following (provided the system directory is C:\Windows)
    CD C:\Windows\Microsoft.NET\Framework64\v4.0.30319

  3. Run the following command:
    aspnet_regiis –i

 

On Windows Server 2012 or advanced OS

 

The Aspnet_regiis.exe is not used for installing and uninstalling ASP.NET 4.5 on Windows 8 anymore. ASP.NET 4.5 is a Windows component and can be installed and uninstalled just like any other Windows component To install the ASP .Net, "IIS-ASPNET45" need to be enabled.

 

Using Server Manager

  • On Windows Server 2012 computers, enable using Server Manager, under "Web Server (IIS) >> Web Server >> Application Development >> ASP.NET 4.5".

 

Command-line option

  • Run the following command from an administrative command prompt: dism /online /enable-feature /featurename:IIS-ASPNET45