Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi guys,

i create access database and put in Debug folder ...
then create setup file (with instalsheild 2010) and install in other PC ,
butt database is read only and program send error when CRUD !

how to right this problem ?
thanks .
Posted

If you are installing to "Program Files" and you are not an administrator then that folder and anything under it will be read-only.

Install to another folder i.e. c:\appname
 
Share this answer
 
Probably, it's where you put the file.
Chances are you have put it in the application folder, which means it isn't normally writable.

Have a look here: Where should I store my data?[^] - it suggests some more suitable locations.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900