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 January 30th, 2006, 06:27 PM
Registered User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default HELP! Insert Query Error

I receive the following error with my insert query...

Microsoft JET Database Engine error '80004005'

Operation must use an updateable query.

/email_process.asp, line 19

the code in question follows....
strConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & dbpath

Set cnn = Server.CreateObject("ADODB.Connection")
cnn.Open strConnectionString

Set blogData = Server.CreateObject("ADODB.Recordset")
strSQL = "INSERT INTO list(Email) VALUES('" & Request.Form("email") & "');"
Response.Write strSQL
blogData.Open strSQL, cnn
blogData.Close
%>

Anyone know why i recieve that error?
 
Old January 30th, 2006, 06:34 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Take a look at this FAQ: http://imar.spaanjaars.com/QuickDocId.aspx?QUICKDOC=263

HtH,

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert Query Error & Run-Time Error 3022 DavidWE Access 1 July 31st, 2008 11:17 AM
Error 'SQL_C_NUMERIC' with param Insert query bnorg MySQL 0 December 16th, 2006 07:30 PM
I solved insert query.now see this Update Query. [email protected] VB.NET 2002/2003 Basics 2 September 21st, 2006 12:48 AM
Error in SQL INSERT query lawsoncobol Access VBA 1 August 4th, 2006 04:25 AM
Insert into error with union query in Access 2002 roniestein Access 8 December 21st, 2004 07:47 PM





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