Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 6 of 6 total |
Can not modify read-only dataset |
Tue, May 24 2016 8:52 AM | Permanent Link |
Peter van Mierlo EVENTSOFT | hi
I created a setup for my application which copies the database file to : C:\ProgramData\myApplication\Data On my own computers the application runs without problems. A new customer get this error : Can not modify a read-only dataset What couses this error and how to prevent it. By the way...the TEMP direcectory is the same directory as above. Regards Peter |
Tue, May 24 2016 9:47 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Peter
Its generally a matter of permissions, but since you say copies the database file it could be copying the files as read only. Windows tends to do this if you're copying from read only media (eg CD or DVD) Roy Lambert |
Tue, May 24 2016 12:20 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Peter,
<< I created a setup for my application which copies the database file to: C:\ProgramData\myApplication\Data On my own computers the application runs without problems. A new customer get this error : Can not modify a read-only dataset What couses this error and how to prevent it. By the way...the TEMP direcectory is the same directory as above. >> Please see here: http://stackoverflow.com/questions/22107812/privileges-owner-issue-when-writing-in-c-programdata ElevateDB stores its settings .ini file in a subdirectory under c:\programdata for the ElevateDB Server, and gets around this restriction by granting all rights to Administrators, and read/execute to all users, during installation. Tim Young Elevate Software www.elevatesoft.com |
Tue, May 24 2016 4:58 PM | Permanent Link |
Peter van Mierlo EVENTSOFT | Hi Roy/Tim.
Well the setup 'installs' the files in a sub directory...something like : C:\ProgramData\myWristband\Data For creating a setup.exe i use IndigoRose Setup Factory so i have to look if it's possible to set the attributes for those files. Is there a better/other location for installing the dbisam database file as i do know ? Regards |
Wed, May 25 2016 5:20 AM | Permanent Link |
Matthew Jones | Peter van Mierlo wrote:
> Is there a better/other location for installing the dbisam database > file as i do know ? Somewhere like AppData IIRC. Check out the installer location options, and you will find the one that fits. One other option that I use is to have another installer that is run the first time your application is run by a user, which then installs the default data set to their "My Documents\Your App Files" folder. That way each user gets a set of files in their own location rather than shared. Depends a bit on whether you want them to know about the database - AppData is good for hiding, but backups might get missed. -- Matthew Jones |
Wed, May 25 2016 11:40 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Peter,
<< Is there a better/other location for installing the dbisam database file as i do know ? >> Do you want the database files shared across all users that may use the machine, or specific to each user ? Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Thursday, April 18, 2024 at 10:42 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |