Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Frustration!!!!!!! Code 0 Error
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Frustration!!!!!!! Code 0 Error
Miscellaneous
Thread ID:
00662213
Message ID:
00662213
Views:
51
I have given up on the Microsoft-supplied tutorial for the book "Teach yourself ASP.NET in 21 days" - I am on day one, example 1.2. However, the first example, which is supposed to print one line of text(!) doesn't work on my machines.

I run the code I created (or the sample provided) and get the following error:
********************
Line 4
Char 8
Error:  Expected ';'
Code 0
URL: http://localhost/day1/exercise1.aspx
********************
Here's the code:
********************
< % ERROR: @ Page Language="VB"  % >

<script runat="server">
   sub Page_Load(obj as object, E as eventargs)
      lblMessage.Text = "This is my first exercise!"
   end sub   
</script>

<html><body>
   <asp:Label id="lblMessage" runat="server"/>
</body></html>
***************************
There MUST be something wrong with my setup....I have the exact same problem on my desktop & laptop machines (each with their own copy of IIS, .NET) so I'm completely stumped!

Any thoughts are greatly appreciated!
Steve Howie, owner
DaSH Technology
Denver, CO
Next
Reply
Map
View

Click here to load this message in the networking platform