HighDots Forums  

.asp error '0140'. But nothing wrong with page???

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss .asp error '0140'. But nothing wrong with page??? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Caoimha?n
 
Posts: n/a

Default .asp error '0140'. But nothing wrong with page??? - 11-03-2004 , 06:23 AM






Has anyone ever got the 'asp 0140' error even though they have had the '<% @
Language = VBScript %>' in the first line of the code?

I can't fathom why the page won't display. It keeps telling me 'the @ command
must be in the first command' in the page, which it is. Yet I still get the
error. Anyone know why?

Any input would be much appreciated
Caoimha?n
http://www.irishbandslist.com/


Reply With Quote
  #2  
Old   
Jon Spivey
 
Posts: n/a

Default Re: .asp error '0140'. But nothing wrong with page??? - 11-03-2004 , 09:12 AM






Hi,
why not just take the line out - it's not necessary for your ASP code to run

Jon

"Caoimha?n" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Has anyone ever got the 'asp 0140' error even though they have had the '<%
@
Language = VBScript %>' in the first line of the code?

I can't fathom why the page won't display. It keeps telling me 'the @
command
must be in the first command' in the page, which it is. Yet I still get
the
error. Anyone know why?

Any input would be much appreciated
Caoimha?n
http://www.irishbandslist.com/




Reply With Quote
  #3  
Old   
Caoimha?n
 
Posts: n/a

Default Re: .asp error '0140'. But nothing wrong with page??? - 11-03-2004 , 11:12 AM



Not needed??? I'm pretty sure the code won't run without it. That's the whole error is it not?

Reply With Quote
  #4  
Old   
Mike Z
 
Posts: n/a

Default Re: .asp error '0140'. But nothing wrong with page??? - 11-03-2004 , 02:28 PM



According to this article the language declaration is not needed, just as
Jon mentioned:
http://help.hostway.com/documents/win2003platform/WebHelp/WindowsGeneral/Ch0413.html .

It still doesn't explain the error message though. I've tried pasting your
code into a page on my server and it doesn't give me the error. I thought
maybe it was an issue with the lack of quotes or spacing of your version. My
pages in Dreamweaver use this for the first line:

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



Reply With Quote
  #5  
Old   
Mike Z
 
Posts: n/a

Default Re: .asp error '0140'. But nothing wrong with page??? - 11-03-2004 , 02:32 PM



A search at Google groups turned up a conflict caused by including another
VBScript file within the page, are you using any includes?

http://tinyurl.com/6ab2d



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.