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, exceptions can be encountered when starting TeamPulse

Note: Use the option “Copy error to clipboard” in order to access the details when TeamPulse encounters an issue.

These issues can be solved by re-registering ASP.NET, running the IIS Registration tool – aspnet_regiis.exe. It is installed in the Microsoft.NET Framework directory. If your computer is running multiple .NET Framework versions side-by-side, multiple versions of the tool can be installed.

.NET 4.0 (32-bit systems)

  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\Framework\v4.0.30319

Run the following command:

aspnet_regiis -i

.NET 4.0 (64-bit systems)

  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

Run the following command:

aspnet_regiis –i

.NET 4.5 on Windows 8 and Windows Server 2012

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:

  • Run the following command from an administrative command prompt: dism /online /enable-feature /featurename:IIS-ASPNET45
  • On Windows 8 client computers, turn on "IIS-ASPNET45" in "Turn Windows Features On/Off" under "Internet Information Services >> World Wide Web Services >> Application Development Features >> ASP.NET 4.5".
  • On Windows Server 2012 computers, enable "IIS-ASPNET45" using Server Manager, under "Web Server (IIS) >> Web Server >>Application Development >> ASP.NET 4.5".