Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 23rd, 2004, 12:35 PM
Authorized User
Join Date: Oct 2004
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default Converting ASP calls to ASPX

The following works fine in ASP, but ASPX has a problem with it.

Compiler Error Message: BC30035: Syntax error.

Source Error:

Line 6:
Line 7:
Line 8: <% call header("This Week Page") %>
Line 9: <body bgcolor="#f5f5dc">
Line 10: <style type="text/css">

Thanks for any help

Old October 23rd, 2004, 03:04 PM
Authorized User
Join Date: Oct 2004
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts

I found my problem after reading some other Posts, needed:


and then remove the word "Call" from line 8.

Now I am down to:

Parser Error Message: Server includes are not allowed in server script tags.

Source Error:

Line 22: <p align="center"><img src="images/FBChead0.gif" width="548" height="40" alt="" border="0" /></p>
Line 23: <p align="center"><b>Happy 135 Anniversary FBC</b></p>
Line 24:
Line 25: <% End Sub %>
Line 26:

Source File: /MyWeb/includes0.asp Line: 24

Don't know how to fix this without impacting all of my
ASP files, I've spent a bit a time getting a common look and feel to my site.

Thanks for your help,

Similar Threads
Thread Thread Starter Forum Replies Last Post
converting testmenu.aspx to a content page cherry BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 2 September 11th, 2007 09:45 AM
converting from html to aspx sss22 ASP.NET 1.0 and 1.1 Basics 1 February 2nd, 2006 05:48 AM
interval timed calls to asp routines NickOg Javascript How-To 6 November 5th, 2004 03:55 AM
converting pages from html to aspx debuajm ADO.NET 6 May 31st, 2004 12:41 PM
converting pages from html to aspx debuajm .NET Web Services 2 May 23rd, 2004 03:47 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.