Wrox Programmer Forums
|
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
 
Old July 15th, 2004, 09:48 PM
Authorized User
 
Join Date: Mar 2004
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to gmoney060 Send a message via MSN to gmoney060
Default 80040e10 ERROR!! PLEASE HELP!

Error Meesage:
Microsoft JET Database Engine error '80040e10'
No value given for one or more required parameters.
/test/Admin_Area.asp, line 26

Script:
Code:
<% 'Declares Variables
    Dim dbName
    Dim ObjConn
    Dim TempUser
    Dim Admin

    'Open DSNless connection to the banner database
    dbName = "/fpdb/topsites.mdb"
    ObjConn= "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=" & Server.MapPath(dbName)

    'Collects Data from URL Address
    TempUser = Request.QueryString("User")

    'Opens the Database
    Set Admin = Server.CreateObject("ADODB.RecordSet")
    Admin.Open "Select * From Users Where Client_Username="&TempUser,ObjConn,1,2
%>
Comments:
If anyone could please help me IT WOULD BE GREATLY APPREACIATED! You can also IM me using AIM at "G Unit2507"

 
Old July 15th, 2004, 09:57 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default

hi gmoney060,

  I think Client_Username is Text datatype.

Select * From Users Where Client_Username='" & TempUser & "'",ObjConn,1,2


 
Old July 17th, 2004, 11:25 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Yes, looks like you are missing ' around TempUser variable.

Check this out. No value given for one or more required parameters

Cheers!

_________________________
- Vijay G
Strive for Perfection





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
HelpMicrosoft JET Database Engine error '80040e10' jibber Classic ASP Databases 5 June 7th, 2006 03:17 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.