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

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
Hi,
I solved the issue by including my aspx page into my asp main page using an
IFRAME.
Regards,
Peter
 
Back
Top