Thanks to those who’ve replied so far with this. I’m using 4D 15.5 build 15.216758 on Mac OS X 10.13.1
I think that I’ve followed the instructions for creating a default data file - I have a Default Data folder next to my .4db file, and this contains the default data file (Default.4dd, Default.4Dindx and Default.Match). Having built the application, if I inspect the package contents, I see Contents/Database and this contains my 4DC compiled application, with the populated Default Data folder alongside it. However, I cannot make this application run at all. It tells me that the data file is locked and it’s impossible to open the database. The only way it will open is if I put a data file in the same folder as the built application, So it looks like the data file which is wrapped up inside the application can’t be used, even though no write access is required. I haven’t got as far as signing my application - I didn’t think I needed to do this, as I am simply copying the application directly to individual computers on the network. I usually use Remote Desktop to copy the built application to all computers on the LAN. Hope someone can help further with this. Cheers James Knight Waveney River Centre ja...@waveneyrivercentre.co.uk <mailto:ja...@waveneyrivercentre.co.uk> > On 19 Dec 2017, at 23:16, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com > <mailto:4d_tech@lists.4d.com>> wrote: > > I don't have a solution but to better understand the situation: > > are you actually using the v15 default.4dd system, > or simply placing a {name}.4dd adjacent to the compiled structure file? > http://doc.4d.com/4Dv15/4D/15/Default-data-file-in-merged-applications.300-2018649.en.html > > <http://doc.4d.com/4Dv15/4D/15/Default-data-file-in-merged-applications.300-2018649.en.html> > > did you code sign (and verify) your built application? > > unlikely, but did you check if the read-only-allow property is passed on to > your built application? > (for example, by implementing OPEN SETTINGS WINDOW) > > http://doc.4d.com/4Dv15/4D/15.4/DatabaseData-storage-page.300-3285380.en.html > > least but not least, always good to include the build number of 4D and the OS. > >> 2017/12/20 7:41、James Knight via 4D_Tech <4d_tech@lists.4d.com> のメール: >> It’s clearly permissions related - but how can I fix it? > > > > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************