<%@ Page Language="VB" %> question.

G

Guest

Hi,

I’m new to aspx and asp.net. We have a huge web based application developed
in ASP. I started working with ASP.net and discovered the strength of this
language. The idea is to start rewriting our asp based application page by
page into asp.net. I rewrote one page in asp.net and the page on itself
works. The start page of the application is an 800 lines long ASP page with
includes. I replaced the <!-- #include file="./119_01.asp" --> with <!--
#include file="./119_01.aspx" --> and I get the following error: “The @
command must be the first command within the Active Server Page.†I tried to
put the <%@ Page Language="VB" %> command on every possible place of my ASP
based start page; without any succes.
Can we use a mix of ASP and ASPX pages when the start page is an ASP page?
This to avoid we have to rewrite all the pages at once.

Thanks in advance,
Regards,
Peter
 
G

Guest

Hi,
I solved the issue by including my aspx page into my asp main page using an
IFRAME.
Regards,
Peter
 

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