Im trying to setup my simple IIS server so I can easily develope and test my ASPX pages for my class. I installed IISv6.0 and created the virtual directory in the IIS Manager and set the permissions to run ASPX pages and all but for some reason I cannot get it to properly work. Here's the most simple page I am testing.
Code:
<% Page language="VBSCript" %>
<script runat="server">
Sub Page_Load
Response.Write("THIS IS MY FIRST ASP.NET PAGE")
End Sub
</script>
<html>
<head>
</head>
<body>
<form runat="server">
<table cellpadding="5" border="1">
<tbody>
<tr>
<td>
<font size=+0><strong>Hello! If you can see the above text then this page was a successful
first ASP page!<strong> </strong></strong></font></td>
</tr>
</tbody>
</table>
</form>
</body>
</html>
The error it gives me:
A runtime error has occurred.
Do you wish to Debug?
Line: 3
Error: Expected ';'
Why is it doing that? The code worked perfect when I used Microsofts own program 'Web Matrix' which creates a virtual server when you want to test an asp page. Of course when i want to work with IIS is doesn't work right!!! Any help?