Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 07:31 AM
Dr DOOM
Guest
 
Posts: n/a
Default hello world (asp.net) problem (syntax error) help needed :(

Hi folks...I've just installed asp.net framework and asp.net sdk and I've
cut and pasted a file from the web to test that it works.

The problem is that I get this error message which says:

Line: 3
Char: 9
Error: Expected ';'
Code: 0
URL: Http://localhost/helloworld5.aspx

Anyway this is what I tried. http://www.asp101.com/lessons/firstpage.asp

I know it must be a really basic syntax error but wtf; I just copy and
pasted this code which really really should be correct. I also am working on
one of my intro pracs and it also returned the same error so what's going
on?

Any help would be greatly appreciated.

The code I used is shown below:

<%@ Page Language="VB" %>
<script runat="server">
Sub Page_Load(Sender As Object, E As EventArgs)
HelloWorld.Text = "Hello World!"
End Sub
</script>

<html>
<head>
<title>ASP.NET Hello World</title>
</head>
<body bgcolor="#FFFFFF">

<p><asp:label id="HelloWorld" runat="server" /></p>

</body>
</html>


  #2  
Old July 19th, 2005, 07:31 AM
Alan
Guest
 
Posts: n/a
Default Re: hello world (asp.net) problem (syntax error) help needed :(

Hi mate, the .NET newsgroups have 'dotnet' in them. You'll get better
mileage asking your question there.

Cheers,

Alan

"Dr DOOM" <blah@blah.com> wrote in message
news:3f35c338$0$28121$afc38c87@news.optusnet.com.a u...[color=blue]
> Hi folks...I've just installed asp.net framework and asp.net sdk and I've
> cut and pasted a file from the web to test that it works.
>
> The problem is that I get this error message which says:
>
> Line: 3
> Char: 9
> Error: Expected ';'
> Code: 0
> URL: Http://localhost/helloworld5.aspx
>
> Anyway this is what I tried. http://www.asp101.com/lessons/firstpage.asp
>
> I know it must be a really basic syntax error but wtf; I just copy and
> pasted this code which really really should be correct. I also am working[/color]
on[color=blue]
> one of my intro pracs and it also returned the same error so what's going
> on?
>
> Any help would be greatly appreciated.
>
> The code I used is shown below:
>
> <%@ Page Language="VB" %>
> <script runat="server">
> Sub Page_Load(Sender As Object, E As EventArgs)
> HelloWorld.Text = "Hello World!"
> End Sub
> </script>
>
> <html>
> <head>
> <title>ASP.NET Hello World</title>
> </head>
> <body bgcolor="#FFFFFF">
>
> <p><asp:label id="HelloWorld" runat="server" /></p>
>
> </body>
> </html>
>
>[/color]


  #3  
Old July 19th, 2005, 07:31 AM
Dr DOOM
Guest
 
Posts: n/a
Default Re: hello world (asp.net) problem (syntax error) help needed :(

Ohh ok Alan, I'll try there :)

Thanks :)




"Alan" <SPAMMENOTalan.howard@inspire.net.nz> wrote in message
news:uow9tTvXDHA.2516@TK2MSFTNGP09.phx.gbl...[color=blue]
> Hi mate, the .NET newsgroups have 'dotnet' in them. You'll get better
> mileage asking your question there.
>
> Cheers,
>
> Alan
>
> "Dr DOOM" <blah@blah.com> wrote in message
> news:3f35c338$0$28121$afc38c87@news.optusnet.com.a u...[color=green]
> > Hi folks...I've just installed asp.net framework and asp.net sdk and[/color][/color]
I've[color=blue][color=green]
> > cut and pasted a file from the web to test that it works.
> >
> > The problem is that I get this error message which says:
> >
> > Line: 3
> > Char: 9
> > Error: Expected ';'
> > Code: 0
> > URL: Http://localhost/helloworld5.aspx
> >
> > Anyway this is what I tried. http://www.asp101.com/lessons/firstpage.asp
> >
> > I know it must be a really basic syntax error but wtf; I just copy and
> > pasted this code which really really should be correct. I also am[/color][/color]
working[color=blue]
> on[color=green]
> > one of my intro pracs and it also returned the same error so what's[/color][/color]
going[color=blue][color=green]
> > on?
> >
> > Any help would be greatly appreciated.
> >
> > The code I used is shown below:
> >
> > <%@ Page Language="VB" %>
> > <script runat="server">
> > Sub Page_Load(Sender As Object, E As EventArgs)
> > HelloWorld.Text = "Hello World!"
> > End Sub
> > </script>
> >
> > <html>
> > <head>
> > <title>ASP.NET Hello World</title>
> > </head>
> > <body bgcolor="#FFFFFF">
> >
> > <p><asp:label id="HelloWorld" runat="server" /></p>
> >
> > </body>
> > </html>
> >
> >[/color]
>
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles