Web page shows straight HTML but no asp controls ?!?

G

Guest

I've just started playing around with VS.NET and am working thru a book. I
down loaded all the code from the book. I created a virtual folder and
pointed to chapter 1 which has a simple aspx page with a heading and a few
asp controls below it. When I bring this page up in IE, I see only the
heading, the controls below are not there. I viewed the source of the page
and copied it below. Does this mean IIS is not installed correctly? Or what?

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="VirtualPetForm.aspx.vb"
Inherits="Chapter01SampleApp.VirtualPetForm" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Virtual Pet Example</title>
<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
</head>
<body>
<form id="Form1" method="post" runat="server">
<p style="FONT-WEIGHT: bold; COLOR: navy; FONT-FAMILY: Verdana,
Tahoma, Arial">Welcome
to the virtual pet selector</p>
<p><asp:label id="ASPLabel" runat="server" Font-Names="Verdana"
Font-Size="10pt">Choose your virtual pet, give it a name, then click the
button:</asp:label></p>
<p><asp:radiobutton id="ASPCatButton" runat="server" Text="Cat"
GroupName="ASPPet" Font-Names="Verdana"
Font-Size="10pt"></asp:radiobutton></p>
<p><asp:radiobutton id="ASPFishButton" runat="server" Text="Fish"
GroupName="ASPPet" Font-Names="Verdana"
Font-Size="10pt"></asp:radiobutton></p>
<p><asp:textbox id="ASPTextBox"
runat="server"></asp:textbox><asp:button id="ASPButton" runat="server"
Text="Name my virtual pet!"></asp:button></p>
<p>
<asp:image id="ASPImage" runat="server"
Visible="False"></asp:image></p>
</form>
</body>
</html>
 
G

Guest

I can't down load or install anything, that has to be done by our desktop
support group. I have Framework 1.1, VS.NET 2003 and IIS installed (This is
Win 2K OS). How do I tell if ASP.NET is installed? I don't see it under
Start--Programs. Also something is mentioned on the MS site you pointed me to
-- IIS must be installed prior to VS.NET. How can I check if that was done?
- David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top