Verifying the .NET Framework was Installed after Microsoft IIS

In order for your applications to run properly, the .NET Framework must be installed after Microsoft IIS is installed.  If this is not the case for your machine, Microsoft provides the aspnet_regiis utility program to un-register and then re-register the .NET Framework.  Its purpose is to ensure that ASP.NET is set up properly and otherwise manage the .NET installation.  Specifically, aspnet_regiis:


Step 1:  Run the “Re-register ASP.NET with IIS” command (Build, Re-register ASP.NET with IIS...).

Alternatively, run the following command sequence to set up your Microsoft IIS web server properly.  (aspnet_regiis is a utility provided as part of the Microsoft .NET Framework.)

aspnet_regiis -u

aspnet_regiis –i

aspnet_regiis -c

The "-u" flag uninstalls the current version of ASP.NET.

The "-i" flag installs the current version of ASP.NET.

The “-c” flag installs the client-side scripts for this version to the aspnet_client subdirectory of each IIS site directory.

Additional information can be found at:

Step 2:  Set the ASP.NET State Service to run automatically.  See Setting the ASP.NET State Service to Run Automatically for details.

See Also

Configuring the Microsoft .NET Framework

Deploying Applications with the Deployment Wizard

Manually Deploying an Application to a Production Server