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 16th, 2003, 01:25 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to jmss66
Default ADODB.Recordset error '800a0cb3'

Can someone please help me on figuring out adding/updating new records on an ACCESS Database please? Below is my code and the error message:

Error Message

ADODB.Recordset error '800a0cb3'
Object or provider is not capable of performing requested operation.

Program Code

!--#include file="Connection.asp"-->


<%

  Dim rsUsers
  Set rsUsers = Server.CreateObject("ADODB.Recordset")
  sqlString= "SELECT * FROM Member WHERE SSN =" & Request.Form("SSN") & ";"
  rsUsers.Open sqlString, objConn

    If rsUsers.EOF Then
      rsUsers.AddNew
   Else
     rsUsers.Update
   End If

%>

Include File Connection.asp

<%
  Dim curDir
  Dim objConn
  curDir = Server.MapPath("db/HFPension.mdb")
  Set objConn = Server.CreateObject("ADODB.Connection")
  objConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & curDir

%>
 
Old July 16th, 2003, 04:18 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to jmss66
Default

I got help from this problem. It was a permission problem to web anonymous users. It only had a read permission.





Similar Threads
Thread Thread Starter Forum Replies Last Post
ADODB.Recordset error '800a0cb3' klittlejohn SQL Server ASP 2 January 19th, 2004 10:17 PM
ADODB.Recordset error '800a0cb3' khalid08 Classic ASP Databases 1 September 23rd, 2003 07:15 AM
ADODB.Recordset error '800a0cb3' jmss66 Classic ASP Basics 4 July 16th, 2003 04:16 PM





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