rainhardman 0 Newbie Poster

I guess its only stupid if I don't ask it... Hi VB Daniweb folks. I've developed some VB.Net applications and now I'm trying to dabble with some asp.net server pages. I've created a simple page and when I display it (entered in the browser:http://localhost/hello/welcome.aspx)

I get the following error...

Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.

<%@Page Language="VB" Debug="True" %>
<html>
<head>
<title>Hello and Welcome Page</title>
</head>
<body>
<center>
<% Dim TextSize As Integer %>
<% For TextSize = 1 to 7 %>
<font size = <%=TextSize%>>
Hello and Welcome!<br>
</font>
<% Next %>
</center>
</body>
</html>

Can you please help me get over this curve in understanding why I receive this error?

Thanks for your replies.