If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > attempted update during read-only transaction

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-01-04, 07:57
marconi8 marconi8 is offline
Registered User
 
Join Date: May 2003
Posts: 50
Unhappy attempted update during read-only transaction

people i realy dont know why this transaction is read only
i realy dont know what option i must to setup

i'am using www.w3schools.com ado manual,
but reading about connection.execute method i dont find any notes about setting up transactions

here is my simple script

set db = server.createobject("adodb.connection")
db.open "test_1"

sql = "insert into table_1 (col_1) values('nn')"

db.execute sql

db.close
set db = nothing

and executing this script i get error
attempted update during read-only transaction

i think maybe my transaction is read only, but where and what i must to change ????


thanks
Reply With Quote
  #2 (permalink)  
Old 08-01-04, 14:45
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
what type of DB is it?
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #3 (permalink)  
Old 08-02-04, 07:53
marconi8 marconi8 is offline
Registered User
 
Join Date: May 2003
Posts: 50
:( forgoten sorry:(

my db is Interbase analog - Firebird >1.5

and oDBC drivers i using are jdbcc and odbc for firebird

i'am stil have this problem
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On