Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. 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 Professional 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 2nd, 2007, 08:03 AM
Authorized User
 
Join Date: Feb 2006
Location: , , .
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Weird Syntax Error

For some reason, I keep getting a syntax error on a new page I created. It's on an include that SEVERAL ((dozens)) of other pages also utilize, thus, I don't understand why it's producing an error on this particular page.

Here's the full error message:
Quote:
quote:Microsoft VBScript compilation error '800a03ea'

Syntax error

/includes/xmlHandler.asp, line 12

Class exportXML
^
And here's the surrounding lines of code for line 12:
Quote:
quote:<%
    '################################################# #######
    '# include file for handling all XML
    '################################################# #######

    '-- set global variables
    Dim oXML
    Dim oRoot
    Dim xI, xJ, xK

    Class exportXML <<<< LINE 12
        dim SQL
        dim xInd
        dim oFS
        dim qFile
        dim oCmd
        dim oStream


Any suggestions?

Thanks.
Reply With Quote
  #2 (permalink)  
Old May 1st, 2007, 02:53 PM
Registered User
 
Join Date: May 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It looks like this is what happens when you try to conditionally include an ASP page that defines a class.

Reply With Quote
  #3 (permalink)  
Old May 1st, 2007, 06:35 PM
Friend of Wrox
Points: 6,452, Level: 34
Points: 6,452, Level: 34 Points: 6,452, Level: 34 Points: 6,452, Level: 34
Activity: 44%
Activity: 44% Activity: 44% Activity: 44%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,831
Thanks: 12
Thanked 16 Times in 16 Posts
Send a message via AIM to mat41
Default

From what you say I dont think your problem is in your include. is the new File which calls this incluse in a seperate dir to the pages which are problem free?

Wind is your friend
Matt
Reply With Quote
  #4 (permalink)  
Old May 5th, 2007, 04:25 AM
Authorized User
 
Join Date: May 2007
Location: Bangalore, Karnataka, India.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Try this it may work. Include the file (#Include) at the top of the page. If you are including the file in between some ASP code, this error could occure.


Ragards,
Akash - The Sky
Reply With Quote
Reply


Thread Tools
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
Weird Error Message jeremy1048 Access 2 April 8th, 2008 04:52 AM
VWD Weird Error bmains Visual Studio 2005 1 May 2nd, 2005 09:46 AM
Weird MySQL error cmiller PHP Databases 3 April 6th, 2004 04:08 AM



All times are GMT -4. The time now is 05:42 PM.


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