Re-Registering the .NET Framework

Occasionally, the Microsoft .NET Framework requires resetting to update its files and client side scripts to run properly.  When this happens, either your application does not work or the buttons in your application stop responding to clicks.

If you are running Iron Speed Designer on the system running your application, re-register ASP.NET with Microsoft IIS by selecting:

Build, Re-Register ASP.NET with IIS...

Press OK to reset Microsoft .NET Framework.

If you are not running Iron Speed Designer on the system, you can perform these same actions by running them from the Command Line prompt.

Step 1:  Run the DOS Command Prompt window in Windows (Start button, Run, type “Cmd”).

Step 2:  Go to the Microsoft .NET Framework folder, e.g.:

CD C:\WINDOWS\Microsoft.NET\Framework\ v2.0.50727

Step 3:  Run the following three commands.

aspnet_regiis –u

The above commend uninstalls this version of ASP.NET.  Existing scriptmaps to this version are remapped to highest remaining version of ASP.NET installed on the machine.

aspnet_regiis –i

The above command installs this version of ASP.NET and updates scriptmaps at the Microsoft IIS metabase root and all scriptmaps below the root.  Existing scriptmaps of lower version are upgraded to this version.

aspnet_regiis –c

The above command installs the client side scripts for this version to the aspnet_client subdirectory of each Microsoft IIS site directory.

Step 4:  Once you have completed this process, you should be able to run your application without any problems.

See Also

Application Will Not Run