Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Read/Write Issues After Copying An Access .mdb File
Jeigh
post Jul 31 2006, 02:11 PM
Post #1


Whitest Black Mage
Group Icon

Group: [MODERATOR]
Posts: 1,352
Joined: 20-May 05
From: NB, Canada
Member No.: 5,281



Alright, I'm currently creating an interface program for a MS Access database. I've only used Access once in the past but used other DB's a handful of times so I didn't have any trouble getting the general program created. My issue arose when I tried to make it so that the users needing to use the program can just copy the .exe and the .mdb files and use it.

The program doesn't require users to share the database but to store their OWN programs information in their OWN database, so basically each needs to have their own database with the exact same design. The original plan was to just get them to copy over a near empty .mdb with the design set up and have them slowly create their own dataset with it. However, upon copying these files between my computer and others it ends up allowing my interface program to retrieve data from the DB but not write any new entries to it. All security permission on the file itself are set to allow read/write to everyone so I'm not sure what's causing this. Is there any other security settings I should worry about? Everything I could find within access seemed to be set so that it could be used freely so I'm not sure what the problem is. Any help would be greatly appreciated.
Go to the top of the page
 
+Quote Post
faulty.lee
post Nov 14 2006, 09:59 AM
Post #2


Premium Member
Group Icon

Group: [HOSTED]
Posts: 495
Joined: 5-November 06
Member No.: 17,016



Can you give more detail regaing the program you're writing, such as is it written in VB, .Net, C++ ..... etc

What method you use to access the database? ADO, ADO.NET, ODBC

Does this problem also appear on the development machine?

For you case i would recommend using ODBC, since newer windows machine has ODBC built in, even though personally i prefer direct accessing the database. Using ODBC can help isolate problem like file access, and can even work over shared folder. One thing though, you'll need to setup DSN (one time) on all the pc where the software need to run

All the best

QUOTE(Jeigh @ Jul 31 2006, 10:11 PM) *

Alright, I'm currently creating an interface program for a MS Access database. I've only used Access once in the past but used other DB's a handful of times so I didn't have any trouble getting the general program created. My issue arose when I tried to make it so that the users needing to use the program can just copy the .exe and the .mdb files and use it.

The program doesn't require users to share the database but to store their OWN programs information in their OWN database, so basically each needs to have their own database with the exact same design. The original plan was to just get them to copy over a near empty .mdb with the design set up and have them slowly create their own dataset with it. However, upon copying these files between my computer and others it ends up allowing my interface program to retrieve data from the DB but not write any new entries to it. All security permission on the file itself are set to allow read/write to everyone so I'm not sure what's causing this. Is there any other security settings I should worry about? Everything I could find within access seemed to be set so that it could be used freely so I'm not sure what the problem is. Any help would be greatly appreciated.

Go to the top of the page
 
+Quote Post
ignite
post Nov 17 2006, 12:02 PM
Post #3


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 34
Joined: 17-November 06
Member No.: 17,334



QUOTE(Jeigh @ Jul 31 2006, 04:11 PM) *

Alright, I'm currently creating an interface program for a MS Access database. I've only used Access once in the past but used other DB's a handful of times so I didn't have any trouble getting the general program created. My issue arose when I tried to make it so that the users needing to use the program can just copy the .exe and the .mdb files and use it.

The program doesn't require users to share the database but to store their OWN programs information in their OWN database, so basically each needs to have their own database with the exact same design. The original plan was to just get them to copy over a near empty .mdb with the design set up and have them slowly create their own dataset with it. However, upon copying these files between my computer and others it ends up allowing my interface program to retrieve data from the DB but not write any new entries to it. All security permission on the file itself are set to allow read/write to everyone so I'm not sure what's causing this. Is there any other security settings I should worry about? Everything I could find within access seemed to be set so that it could be used freely so I'm not sure what the problem is. Any help would be greatly appreciated.


The problem may be in versioning. Check DB engine's versions at user's machine.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. How To Dump .SQL File to MS-Access(3)
  2. Is php supports MS Access(7)
  3. Access To MySQL Remotely(2)
  4. Access(0)
  5. Logic To Break Down An Access Tabbe To SQL(1)
  6. Sample My.cnf - MySQL Configuration File(2)
  7. Recover Tables From A MySQL .frm File(8)
  8. I Have A Question About MySQL Access & Quotas(1)
  9. Help Me With My MS-Access Program(2)
  10. How To Restore A Sql.gz File(4)
  11. Help With Registration Page, Access Denied.(10)
  12. MS Access DB To Webpage Connection ?(5)
  13. Access -> Mysql(8)
  14. MS Access Validation Rule(2)
  15. Can't Import Backup Sql File To Localhost(10)
  1. Oracle 10g Install Issues(27)
  2. Public Access Oracle Db?(5)
  3. Access(17)
  4. Access 97 To Access 2003(15)
  5. Integrate Access Database Onto Intranet Site(5)
  6. Accessing Ms Access Database From A Centralized Location?(5)
  7. Mysql And User File_priv(0)
  8. Database Access On Remote Server W/jsp(0)


 



- Lo-Fi Version Time is now: 11th October 2008 - 06:09 AM