Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. 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 Databases 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
  #1 (permalink)  
Old August 20th, 2003, 11:56 AM
Authorized User
 
Join Date: Jul 2003
Location: Houston, Texas, USA.
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nvillare
Default Microsoft JET Database Engine error '80040e10'

I already searched the site for this error, but it didn't solve my problem. If someone can help it would be greatly appreciated!

Microsoft JET Database Engine error '80040e10'

No value given for one or more required parameters.

/guestbook.asp, line 17

Code:
  dim RS
  dim mySQL
  set RS = Server.CreateObject("ADODB.Recordset")
  mySQL = "SELECT * FROM SignIn WHERE Post=yes ORDER BY ID DESC"
  RS.Open mySQL, conn //line 17

also conn is from a file (conn.asp) which is included in guestbook.asp

Code:
<%
  dim connString
  dim conn

  connString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\connect\geo.mdb"
  Set conn = Server.CreateObject("ADODB.Connection")
  conn.Open connString

%>

Am I doing something wrong?


Thanks!

nvillare
__________________
Thanks!

N
  #2 (permalink)  
Old August 20th, 2003, 12:09 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Take a look at this page that deals with this specific error type.

I am not 100% sure, but it may be caused by the fact that you use Yes as a WHERE clause value. If I am nit mistaken, changing it to True might solve the problem.

Otherwise, if Post is a Text type column, use ' to delimit the value:

Code:
mySQL = "SELECT * FROM SignIn WHERE Post = 'yes' ORDER BY ID DESC"
HtH

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft JET Database Engine error '80040e10' byronthurman Classic ASP Databases 5 June 8th, 2006 08:20 AM
Microsoft JET Database Engine error '80040e10' malhyp Classic ASP Databases 5 June 6th, 2006 10:07 PM
Microsoft JET Database Engine error '80040e10' froggzrevenge Classic ASP Databases 2 January 10th, 2005 12:44 AM
Microsoft JET Database Engine error '80040e10' waynehultum Classic ASP Databases 15 August 20th, 2004 10:22 AM
Microsoft JET Database Engine error '80040e10' shermttam Classic ASP Databases 9 December 10th, 2003 01:57 AM





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