ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old May 11th, 2000, 02:27 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Read only database?

<i><b>Originally posted by : Marie Davis (mariedavis@hotmail.com)</b></i><br />I've got a db on a free web server (DSN-less connection). My connection works fine--I can search and get matches, but when I try to add to the database, I get the following message:<br /><br />Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br /><br />[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only. <br /><br />I've tried using SQL statements to insert records and addnew/update without success. My code is fairly simple: addnew, put value x in field y, update. What am I doing wrong?<br /><br />Thanks in advance...<br /><br />Marie<br /><br />

Reply With Quote
  #2  
Old May 11th, 2000, 04:13 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Oleg (ole@beep.ru)</b></i><br />Hi, Marie<br />If you use MS Access under NT as database you have to set R/W permissions on this *.mdb file.<br />Try to look at permissions setting before you connect to database file via ADO (ODBC) driver. <br />It’ll get problems in multiuse environment too.<br /><br />Oleg Zakharov<br /><br /><br /><br />------------<br />Marie Davis at 5/11/2000 12:27:44 PM<br /><br />I've got a db on a free web server (DSN-less connection). My connection works fine--I can search and get matches, but when I try to add to the database, I get the following message:<br /><br />Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br /><br />[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only. <br /><br />I've tried using SQL statements to insert records and addnew/update without success. My code is fairly simple: addnew, put value x in field y, update. What am I doing wrong?<br /><br />Thanks in advance...<br /><br />Marie<br /><br />

Reply With Quote
  #3  
Old May 11th, 2000, 06:34 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Marie Davis (mariedavis@hotmail.com)</b></i><br />Thanks for the advice, but I'm a little confused--do I set the db permissions before uploading to the site? How would I go about doing that? I've never altered them before in other situations (hooking to VB on a single machine).<br /><br />Thanks for your time....<br /><br />Marie<br /><br /><br />------------<br />Oleg at 5/11/2000 2:13:07 PM<br /><br />Hi, Marie<br />If you use MS Access under NT as database you have to set R/W permissions on this *.mdb file.<br />Try to look at permissions setting before you connect to database file via ADO (ODBC) driver. <br />It’ll get problems in multiuse environment too.<br /><br />Oleg Zakharov<br /><br /><br /><br />------------<br />Marie Davis at 5/11/2000 12:27:44 PM<br /><br />I've got a db on a free web server (DSN-less connection). My connection works fine--I can search and get matches, but when I try to add to the database, I get the following message:<br /><br />Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br /><br />[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only. <br /><br />I've tried using SQL statements to insert records and addnew/update without success. My code is fairly simple: addnew, put value x in field y, update. What am I doing wrong?<br /><br />Thanks in advance...<br /><br />Marie<br /><br />

Reply With Quote
  #4  
Old May 11th, 2000, 08:12 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Oleg (ole@beep.ru)</b></i><br /><br />1.) I’m saying about permissions on the *.mdb file(!) that you connect, but not database properties.<br />Network administrator has to set the file permissions to allow to write in and to change it.<br />PS.<br />If you will open that file as database from MS Access directly (not from ASP code) try to check this permissions again.<br /><br />2.) When you connect to database from ASP code - this is only one user (‘anyone’ for NT server) for MS Access driver. So, close opened connection before open a new one.<br /><br />Hope, help to you….<br /><br /><br />------------<br />Marie Davis at 5/11/2000 4:34:18 PM<br /><br />Thanks for the advice, but I'm a little confused--do I set the db permissions before uploading to the site? How would I go about doing that? I've never altered them before in other situations (hooking to VB on a single machine).<br /><br />Thanks for your time....<br /><br />Marie<br /><br /><br />------------<br />Oleg at 5/11/2000 2:13:07 PM<br /><br />Hi, Marie<br />If you use MS Access under NT as database you have to set R/W permissions on this *.mdb file.<br />Try to look at permissions setting before you connect to database file via ADO (ODBC) driver. <br />It’ll get problems in multiuse environment too.<br /><br />Oleg Zakharov<br /><br /><br /><br />------------<br />Marie Davis at 5/11/2000 12:27:44 PM<br /><br />I've got a db on a free web server (DSN-less connection). My connection works fine--I can search and get matches, but when I try to add to the database, I get the following message:<br /><br />Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br /><br />[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only. <br /><br />I've tried using SQL statements to insert records and addnew/update without success. My code is fairly simple: addnew, put value x in field y, update. What am I doing wrong?<br /><br />Thanks in advance...<br /><br />Marie<br /><br />

Reply With Quote
  #5  
Old May 11th, 2000, 08:23 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Marie Davis (mariedavis@hotmail.com)</b></i><br />I checked the permissions, and the database is set to give the admin read, write, update, modify, ... rights. I've only got one user in the system now to test it, so presumably that one person has admin rights as a default.<br /><br />I appreciate your help. I'm going to speak directly to my host to determine how to solve my problem.<br /><br />Have a great day!<br /><br />Marie<br /><br />------------<br />Oleg at 5/11/2000 6:12:12 PM<br /><br /><br />1.) I’m saying about permissions on the *.mdb file(!) that you connect, but not database properties.<br />Network administrator has to set the file permissions to allow to write in and to change it.<br />PS.<br />If you will open that file as database from MS Access directly (not from ASP code) try to check this permissions again.<br /><br />2.) When you connect to database from ASP code - this is only one user (‘anyone’ for NT server) for MS Access driver. So, close opened connection before open a new one.<br /><br />Hope, help to you….<br /><br /><br />------------<br />Marie Davis at 5/11/2000 4:34:18 PM<br /><br />Thanks for the advice, but I'm a little confused--do I set the db permissions before uploading to the site? How would I go about doing that? I've never altered them before in other situations (hooking to VB on a single machine).<br /><br />Thanks for your time....<br /><br />Marie<br /><br /><br />------------<br />Oleg at 5/11/2000 2:13:07 PM<br /><br />Hi, Marie<br />If you use MS Access under NT as database you have to set R/W permissions on this *.mdb file.<br />Try to look at permissions setting before you connect to database file via ADO (ODBC) driver. <br />It’ll get problems in multiuse environment too.<br /><br />Oleg Zakharov<br /><br /><br /><br />------------<br />Marie Davis at 5/11/2000 12:27:44 PM<br /><br />I've got a db on a free web server (DSN-less connection). My connection works fine--I can search and get matches, but when I try to add to the database, I get the following message:<br /><br />Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br /><br />[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only. <br /><br />I've tried using SQL statements to insert records and addnew/update without success. My code is fairly simple: addnew, put value x in field y, update. What am I doing wrong?<br /><br />Thanks in advance...<br /><br />Marie<br /><br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Read only database?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway