July 31, 2004

How to install ASP.Net

ASP.Net runs from within IIS, I'm going to assume that IIS is already installed and configured. First, check to see if you already have the .NET Framework installed. The easiest was to do this is to look in add/remove programs for the Microsoft .NET Framework 1.1
Go to the location where the Framework is installed, probably located at C:\WINDOWS\Microsoft.NET\Framework. You will find your version of .NET, mine was v1.1.4322. If you don't have it installed, you can download it from here.

At the dos prompt run
%windir%\Microsoft.NET\Framework\ v1.1.4322\aspnet_regiis.exe -i
regsvr32 %windir%\Microsoft.NET\Framework\ v1.1.4322\aspnet_isapi.dll

(use the framework version you have, remember that mine was v1.1.4322)
Now create a test page. I called mine, time.aspx.

<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<h1>hello it is <% Response.Write(DateTime.Now.ToString()); %></h1>
</body>
</html>

And test it out by runing http://localhost/time.aspx

Viola .NET is installed.

Posted by Elyse at July 31, 2004 3:04 PM | TrackBack
Comments

It's Voila...lol
Anyway good job m8, you really helped me out on this one...

Posted by: J. Korres at March 6, 2005 7:07 AM

oh and almost forgot... in win xp sp2 you need to have the path to the asp_isapi.dll in quotes when you feed it to regsvr32....

Posted by: J. Korres at March 6, 2005 7:10 AM

thanks it help me a lot.

Posted by: ritesh at May 10, 2007 2:58 PM