Print Page | Close Window

Arguments are of the wrong type

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=7179
Printed Date: 31 March 2026 at 1:17pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Arguments are of the wrong type
Posted By: brolinuk
Subject: Arguments are of the wrong type
Date Posted: 11 November 2003 at 8:08pm

While I tried to test my guestbook, no matter how I change the code, the following error is always displayed.

Error Type:
ADODB.Recordset (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/cohl/book.asp, line 27

the line 27 is

rsGue.Open "SELECT name, email, comment FROM guestbook;", adoCon

I tried to post information of name, email and comment to the book.asp from the guestbook form and add them into the database. Anybody who knows this error please give me a hand. thanks




Replies:
Posted By: Semikolon
Date Posted: 12 November 2003 at 11:18am

rsGue.Open "SELECT guestbook.* FROM guestbook;", adoCon

where guestbook is the name of the table in the database




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net