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 > read only database problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-13-02, 15:14
kwhite kwhite is offline
Registered User
 
Join Date: Dec 2002
Location: halifax
Posts: 2
read only database problem

i am using frontpage 97 to connect to a remote server which my asp and access 97 mdb files reside on,,when i try run sql commands to update my database i get an error. i can pull records out of my database find an display them,,,.
i am using server objects,,here is an example of my code

Dim rsQuery
set rsQuery=server.createobject("adodb.recordset")
rsQuery.open"select * from data where Station = 'YOW'",myconn1,adopenKeyset,adLockOptimistic
rsQuery("Month")="Jan"
rsQuery.update
rsQuery.close

is this problem one of permissions which my server admin has to fix on his end ?
Reply With Quote
  #2 (permalink)  
Old 12-13-02, 15:34
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
What is the exact error you are receiving ? Which line is it failing on ?
Reply With Quote
  #3 (permalink)  
Old 12-17-02, 12:14
kwhite kwhite is offline
Registered User
 
Join Date: Dec 2002
Location: halifax
Posts: 2
it is giving me the database is read only error ;
so maybe its my web admin problem and not my code
Reply With Quote
  #4 (permalink)  
Old 12-18-02, 13:58
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Let me know if any of these articles help:

article 1
article 2
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