SunQuest
 
           ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old February 9th, 2000, 01:08 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Why do I get this error message when...

<i><b>Originally posted by : reid (reid1@cal-tech.net)</b></i><br />here is the error message:<br /><br />Active Server Pages error 'ASP 0140' <br />Page Command Out Of Order <br />/trade/dir.asp, line 1 <br />The @ command must be the first command within the Active Server Page. <br /><br /><!--#include File="dir.asp"--><br />starts with<br /><br /><%@ Language=VBScript %><br /><%<br />'option explicit<br />%><br /><!--#include file="../inc/include.asp" --><br /><%<br />dim objConn, objRS, sql<br />dim id10, id20, id30, id40, id50, id60, id70, id80, id90, id100, id110, id120, id130, id140<br /><br />set objConn = Server.CreateObject("ADODB.Connection")<br />objConn.Open "provider=sqloledb;server=209.213.96.12;database=;u id=;pwd=;" (removed for security here)<br />set objRs = server.CreateObject("ADODB.Recordset")<br /><br />session("autkod") = ""<br />%><br /><br />it looks like @ is the first command to me.<br /><br /><br />

Reply With Quote
  #2  
Old February 10th, 2000, 06:31 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : sriram</b></i><br />the command <%@ Language=VBScript %> should be in the first line of your page. The page does work however, even if u remove it altogether<br />Sriram<br /><br /><br /><br />------------<br />reid at 2/9/2000 11:08:24 AM<br /><br />here is the error message:<br /><br />Active Server Pages error 'ASP 0140' <br />Page Command Out Of Order <br />/trade/dir.asp, line 1 <br />The @ command must be the first command within the Active Server Page. <br /><br /><!--#include File="dir.asp"--><br />starts with<br /><br /><%@ Language=VBScript %><br /><%<br />'option explicit<br />%><br /><!--#include file="../inc/include.asp" --><br /><%<br />dim objConn, objRS, sql<br />dim id10, id20, id30, id40, id50, id60, id70, id80, id90, id100, id110, id120, id130, id140<br /><br />set objConn = Server.CreateObject("ADODB.Connection")<br />objConn.Open "provider=sqloledb;server=209.213.96.12;database=;u id=;pwd=;" (removed for security here)<br />set objRs = server.CreateObject("ADODB.Recordset")<br /><br />session("autkod") = ""<br />%><br /><br />it looks like @ is the first command to me.<br /><br /><br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Why do I get this error message when...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway