If I understood your code, it ran just fine for me. Here is the code I used:
<%@ 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>
Try running this code.
>I did check the website and there is nothing stating an error. However, on the code sample I sent earlier, the first line was incorrect. It actually reads:
>
>
>< % ERROR: @ Page Language="VB" % >
>
>
>I believe the code should run.....it just won't on my two servers. They are both running XP with IIS 5.1 and the VS.NET program installed with all components, etc.
>
>It simply should be working for all I can tell. However, there has to be a stupidly simple answer for two separate installations to behave exactly the same way...
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi