Jet.OLEDB and Access 2003
- From: "Radon" <Radon@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 2 Sep 2005 22:17:02 -0700
I'm running an old ASP program that worked just fine w/ Access 2000 (Win2K).
Now, when I run it against an Access 2003 db (XP) I get the following: Cannot
update. Database or object is read-only. Note that the program is able to
read the db.
My connection string is as follows: Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\myLocalSite.mdb;Persist Security Info=False
The program seems to break while executing the following:
Set objRS = Server.CreateObject("ADODB.RecordSet")
objRS.Open strSQLStatement, strConnect, adOpenStatic, adLockPessimistic,
adCmdText
Session("visits") = objRS("VisitorNumber") + 1
objRS("VisitorNumber") = Session("visits")
objRS.Update
objRS.Close
I'd appreciate if someone could help me out.
Thanks!
.
- Follow-Ups:
- Re: Jet.OLEDB and Access 2003
- From: Douglas J. Steele
- Re: Jet.OLEDB and Access 2003
- Prev by Date: Re: troube displaying table content in a datagrid
- Next by Date: Re: Jet.OLEDB and Access 2003
- Previous by thread: troube displaying table content in a datagrid
- Next by thread: Re: Jet.OLEDB and Access 2003
- Index(es):
Relevant Pages
|