compilation error..

M

maya

Hi, I'm following csharpfriends tutorial, but on this example,

http://www.csharpfriends.com/quickstart/aspplus/samples/webforms/intro/CS/intro2.aspx
(which runs fine)

when I try to run it in my own machine (IIS) I get following compilation
error:

Compiler Error Message: BC30084: 'For' must end with a matching 'Next'.

Source Error:

Line 26: <p>
Line 27:
Line 28: <% for (int i=0; i <8; i++) { %>
Line 29: <font size="<%=i%>"> Welcome to ASP.NET </font> <br>
Line 30: <% }%>

what does this error mean please (this at work, where I'm on Windows
Server 2003 and IIS w/a no. of projects (solutions) installed that we
develop in VS and run w/no problems..) I know Java and JavaScript, so I
know what a for-loop is, etc.. but I don't get this error, "'For' must
end with a matching 'Next'" ??

thank you...
 
T

Tom Porterfield

maya said:
Hi, I'm following csharpfriends tutorial, but on this example,

http://www.csharpfriends.com/quickstart/aspplus/samples/webforms/intro/CS/intro2.aspx
(which runs fine)

when I try to run it in my own machine (IIS) I get following compilation
error:

Compiler Error Message: BC30084: 'For' must end with a matching 'Next'.

Source Error:

Line 26: <p>
Line 27:
Line 28: <% for (int i=0; i <8; i++) { %>
Line 29: <font size="<%=i%>"> Welcome to ASP.NET </font>
<br> Line 30: <% }%>

what does this error mean please (this at work, where I'm on Windows
Server 2003 and IIS w/a no. of projects (solutions) installed that we
develop in VS and run w/no problems..) I know Java and JavaScript, so I
know what a for-loop is, etc.. but I don't get this error, "'For' must
end with a matching 'Next'" ??

Have you got the page scripting language set to vbscript or javascript?
That is a visual basic error.
 
M

maya

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top