If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Include files

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-01-05, 07:06
parmy parmy is offline
Registered User
 
Join Date: Jan 2005
Posts: 18
Unhappy Include files

Hi guyz, i have a little problem. I am trying to inlcude two include files in a asp file. But i get an error in my browser:

Error Type:
Active Server Pages, ASP 0141 (0x80004005)
The @ command can only be used once within the Active Server Page.
/uufc/validateMember.asp, line 1


I have tried to remove my @ line:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

...but this throws up another error, saying i have to use the @ line as the first line in my script?

Can anyone help me plzzz? I'd be greatful for any help or suggestions. Thankyou.
Reply With Quote
  #2 (permalink)  
Old 03-01-05, 14:00
White Knight White Knight is offline
Registered User
 
Join Date: Dec 2004
Location: York, PA
Posts: 95
You do not need to have
<%@ Language=VBScript %> in any files you include!

But you Do need it in the "master"
__________________
Sorry to be terse
some say it's a curse
I know it's worse
I'm just diverse
Reply With Quote
Reply

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On