navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Strange ASP error message

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Strange ASP error message
Page: [1]
 
womble

 

Posts: 5614
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
Strange ASP error message - 7/14/2006 13:32:13   
Okay, so here I am in the ASP lounge - eek! It's a bit posh in here isn't it? :)

I'm having a few slight (read massive) problems with a couple of ASP pages. Said pages are residing on the server where they should be, but when I try to view them online, I get the following message:

quote:

HTTP 500.100 - Internal Server Error - ASP error
Apache/1.3.27 (Unix) (Red-Hat/Linux) Sun-ONE-ASP/4.0.0 mod_ssl/2.8.12 OpenSSL/0.9.6b

Technical Information (for support personnel)

* Error Type:
Active Server Pages, ASP 0140 (0x80004005)
The @ command must be the first command within the Active Server Page.
/~ret26/eca/cust_log_in.asp, line 6

* Browser Type:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

* Page:
GET /~ret26/eca/cust_log_in.asp

* Time:
13 July 2006, 21:21:08

* More information:
Sun ONE Active Server Pages Support


Logic would seem to suggest that it's meaning that the first line of the script should be "<%@LANGUAGE="VBSCRIPT"%>" - which it is. I even get the same message when I try to use a page's code I know's okay with that same filename (a page that works with a different filename). I'm guessing this is a server/filename problem, but I've no idea really.

My knowledge of ASP is basic to say the least and this has got me totally stumped. Any suggestions?

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)
rdouglass

 

Posts: 9272
From: Biddeford, ME USA
Status: offline

 
RE: Strange ASP error message - 7/14/2006 13:38:02   
Do you have an include file somewhere with the @ command in it?

That one has got me before..:)

EDIT: and actually IIRC it should be the first line of the page and not just the script.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to womble)
womble

 

Posts: 5614
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: Strange ASP error message - 7/14/2006 13:59:48   
Yep, it's the first line of the page. There is an include file, but it doesn't have the @ command in it. What's puzzling me is why the same page, with a different filename, is working just fine.

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to rdouglass)
Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Strange ASP error message - 7/14/2006 17:13:43   
And if you remove that line of code? (it wont be missed normally!)

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to womble)
womble

 

Posts: 5614
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: Strange ASP error message - 7/14/2006 18:26:40   
Yay! :)

Spooky, you're a genius! Thankyou! :)

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to Spooky)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Strange ASP error message
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts