Please Share Feedback


Questions, comments, suggestions? Let us know what you think on our Forum.

To contact us privately, please use our contact form.

Author: Elyse, PMP, CPHIMS
July 31, 2004


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.

Subscribe and Share!

Did you enjoy this article? Your feedback is very important! I'd like to invite you to keep up to date with the latest posts from Anticlue. We offer several venues. If you have some questions, help can be found here.