Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." 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 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 11th, 2004, 12:52 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default debugging

Just a quick one

this error message.....

Microsoft VBScript compilation error '800a0400'

Expected statement

/rs.asp, line 141

end if

does it mean that it's expecting an 'end if' or could it mean a multitude of problems?


Old February 11th, 2004, 02:30 PM
Friend of Wrox
Join Date: Aug 2003
Posts: 205
Thanks: 0
Thanked 0 Times in 0 Posts


It either means you are missing an End If or you forgot to close a similar statement (e.g. For statement, Do Statement, etc.) inside an If statement and it is flagging the End If because it is waiting for the other end statement and the End if as a result appears to be in the other statement. Remember to indent your code. It is a great practice that helps to avoid such isues.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Debugging fs22 Javascript 3 May 17th, 2005 10:13 AM
Debugging BSkelding VB.NET 2002/2003 Basics 1 June 16th, 2004 10:32 PM
Debugging Louisa VB.NET 2002/2003 Basics 1 March 18th, 2004 11:55 AM
Need help debugging.... reg03 Beginning PHP 5 January 27th, 2004 03:51 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.