G
Guest
I'm just starting out in an introductory ASP.Net course, and am trying to run
a simple program but keeping getting an error.
I'm running XP, have installed Internet Information Services (5.1) ,
Microsoft .Net Framework (English) v1.0.3705 and Microsoft .Net Framework SDK
(English) v1.0a on my computer. Also Visual Studio .Net 2002 is also
installed.
"http://localhost/day1/listing0104.aspx" is placed in the address line of
Browser. The following error message displays:
Line: 5
Char: 5
Error: Expected ';'
Code: 0
URL: http://localhost/day1/listing0104.aspx
The program is a follows:
<%@ Page Language="VB" %>
<script runat="server">
sub Page_Load(obj as object, e as eventargs)
lblMessage.text = "Welcome to ASPNet!"
end sub
</script>
<html><body>
<asp:Label id="lblMessage" runat="server"/>
</body></html>
My hunch is that the .Net Framework 1.1 might work better than the current
1.0v.
Any ideas as to what is causing the error?
Thank you,
Mark
a simple program but keeping getting an error.
I'm running XP, have installed Internet Information Services (5.1) ,
Microsoft .Net Framework (English) v1.0.3705 and Microsoft .Net Framework SDK
(English) v1.0a on my computer. Also Visual Studio .Net 2002 is also
installed.
"http://localhost/day1/listing0104.aspx" is placed in the address line of
Browser. The following error message displays:
Line: 5
Char: 5
Error: Expected ';'
Code: 0
URL: http://localhost/day1/listing0104.aspx
The program is a follows:
<%@ Page Language="VB" %>
<script runat="server">
sub Page_Load(obj as object, e as eventargs)
lblMessage.text = "Welcome to ASPNet!"
end sub
</script>
<html><body>
<asp:Label id="lblMessage" runat="server"/>
</body></html>
My hunch is that the .Net Framework 1.1 might work better than the current
1.0v.
Any ideas as to what is causing the error?
Thank you,
Mark