473,326 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Classic ASP Problem in VS.Net 2005

I'm working with a web site that has both ASP and ASP.Net.

When I open the web site with 2005 and try to edit classic ASP files, I'm
having problems getting VS to recognize the classic ASP is really vbscript
and now C#.

Here is an example of the problem.

File1.asp includes File2.asp using <!-- #include......

When i try to compile the site I get an error that File2.asp is missing ";"
on some lines.

If i add <%@ Page Language="vbscript"> to File2.asp then the compiler
doesn't complain about the code. It then complains that there can be only
one <%@ Page.....

So I cannot compile my ASP.Net because the classic ASP pages aren't getting
recognized as ASP when they are included from another file.


Nov 19 '05 #1
1 908
you will find more help in the whidbey newsgroup

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc
"Corey Gaspard" <Co**********@discussions.microsoft.com> wrote in message
news:88**********************************@microsof t.com...
I'm working with a web site that has both ASP and ASP.Net.

When I open the web site with 2005 and try to edit classic ASP files, I'm
having problems getting VS to recognize the classic ASP is really vbscript
and now C#.

Here is an example of the problem.

File1.asp includes File2.asp using <!-- #include......

When i try to compile the site I get an error that File2.asp is missing
";"
on some lines.

If i add <%@ Page Language="vbscript"> to File2.asp then the compiler
doesn't complain about the code. It then complains that there can be only
one <%@ Page.....

So I cannot compile my ASP.Net because the classic ASP pages aren't
getting
recognized as ASP when they are included from another file.

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

99
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a...
92
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a...
5
by: Velvet | last post by:
Can someone tell me to what process I need to attach to be able to step through my classic ASP code in VS.net 2003. I'm working on an XP box with IIS installed. I also have VS.net 2005 (The...
6
by: John | last post by:
Hello. I believe I've read somewhere that classic .asp pages will still operate correctly with no problems with the .NET 1.1 framework installed on a Windows 2000 Server server. Does anyone know...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.