home / software / tips and tricks / How to register ASP.NET on IIS after installing the .NET Framework?

How to register ASP.NET on IIS after installing the .NET Framework?

Updated:  07/21/2010 10:07 AM
Author:  Shiju Mathews

Status:    Resolved.


If you install the .NET Framework on a system that has IIS already installed, IIS is automatically configured to handle requests to ASP.NET pages, and to redirect the execution to the ASP.NET runtime. But if you installed the framework first where IIS was not already present, and just later added IIS, You need to manually register the IIS with .net frame work.
Fortunately there is a utility, shipped with the .NET Framework , that can take care of these configuration for you.

This utility is aspnet_regiis.exe, it is located under the folder

%WindowsDir%\Microsoft.NET\Framework\vx.y.xxxx\ .

In windows XP it is located under ‘C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\

In dos prompt go to this folder by typing ‘cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727’

Then Type ‘ -i parameter: aspnet_regiis.exe –i

For more information visit msdn.microsoft.com
Tags: How to register ASP.NET on IIS after installing the .NET Framework?
Updated on: April 2024