Problem2

M

Murphy

My code does not run...
I have saved the file with an aspx extension and when I view it the page
displays the HTML content but the code does not run ?

I'm guessing my server is not configured correctly. Once again the code is
very basic:

<%@ Page Language="VB" %>
<html>
<head>
<link rel="stylesheet"href="intro.css">
</head>
<body>
<center>
<form action="intro2.aspx" method="post">
<h3> Name: <input id="Name" type=text>
Category: <select id="Category" size=1>
<option>psychology</option>
<option>business</option>
<option>popular_comp</option>
</select>
</h3>
<input type=submit value="Lookup">
<p>
<% Dim I As Integer
For I = 0 to 7 %>
<font size="<%=I%>"> Welcome to ASP.NET </font> <br>
<% Next %>
</form>
</center>
</body>
</html>
 
M

Marshal Antony

Hi Murphy,
Did you put your aspx page under a viirtual directory in IIS?If
not,create a virtual directory pointing to
the directory where the aspx file resides and access the aspx file through
that virtual directory.
Hope this helps.
Regards,
Marshal Antony
..NET Developer
http://www.dotnetmarshal.com
 

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