Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 23rd, 2004, 12:35 PM
Authorized User
Join Date: Oct 2004
Location: , , .
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

Reply With Quote
  #2 (permalink)  
Old October 23rd, 2004, 03:04 PM
Authorized User
Join Date: Oct 2004
Location: , , .
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,

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 06:25 PM.

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