Solved

Database deploys as read-only

Posted on 2011-03-25
2
184 Views
Last Modified: 2012-05-11
Hello,

Have been making great progress on an split database application thanks to many questions and helpful answers from the experts.

One last problem and then I think I'm done!  

My application has a front end and then a couple of back-end databases.  The purposes of having a couple of back-ends is to provide some sample data for the user to play with and the other is for the user's real data.

I've used the package and deploy wizard to copy and install all the necessary files.  I've then copied all the install files onto a CD from which the user can install the application.   The installation seemingly works well and all the tables are properly relinked, etc.  However, the back-end appears to be copied to the installation folder with read-only attributes (presumably because is was installed from a read only source?).  Consequently, the forms and queries throw up error after error because nothing can be written to the back-end file.

The issue doesn't appear with the first back-end, it's only after I restore the second back-end that this problem occurs.  It doesn't occur when I restore the same back-end on the development installation of the application.

I had thought that I could use the filesystem object functionality to reset the attributes after files are copied to the installation folder, but this seems really cumbersome.

Any ideas on either (a) preventing the problem from occuring or (b) changing the attributes on the file after it has been installed?

Many thanks in advance and many thanks for all the help so far.  You guys rock!

Cheers
0
Comment
Question by:BigDaveStafford
2 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 35220546
<I've then copied all the install files onto a CD >

the copying of the db to a cd is the one that caused the db to be Read only.

is there a way that you can place your application in a server or  a web page where they can download and install the application.
 or distribute the application in a thumb drive..
0
 

Author Comment

by:BigDaveStafford
ID: 35220609
Thanks capricorn1

I thought that might be the issue.  For the time being I must distribute the setup package on CD, although I guess I could create a self-extracting zip file and email it to users.  

I'll have to work on the web distribution idea.

Many thanks

Dave
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Access 2016 importing text files 13 20
Ms Access VBA Variables 6 26
Attachment field in SQL 3 28
Why get error when delete all records on a sub-form 2 15
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question