Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Avi on April 24, 2006, 12:28:51 pm
-
Help me please, I have a big problem !!!!
I have to burn EAP file on CD. This EAP file have to be running from this CD (I have to by able run this eap file from CD, but always is created temporary file *.ldb and that is way I can not open this EAP file form CD (this file can not be created on CD).
Can I set up somewhere location this ldb file ? I would like to change it .
Is it possible or I have to always copy this EAP file from CD on local disk.
Thank you very much for your help.
Avi
-
Go and ask Microsoft :( I don't know of any way around this kind of Jet problem.
-
I think you're out of luck here Avi.
Whenever Jet (the Access engine) opens a database file (at least for writing) it creates the .ldb file to keep track of concurrent resource locks, even if you are the only user. By default - and perhaps always - this file is created in the directory of the original database.
[It's possible that Jet does not need to do this with read-only files, but I really don't know.]
EA always opens a repository file with write access enabled. That being the case it needs to create the .ldb file.
There is a really long shot that Jet can create this file locally if you open a shared database on a drive for which you don't have write permission. However: I don't think this is so; and I don't think EA works that way in any case.
Try looking into EALite. I don't know if it attempts to open a repository for write access, but I think it does. Still, perhaps you can come up with some kind of read-only(ish) solution.
David
-
You can prevent the creation of the ldb file by using the 'Connect to Server' feature (corporate and ealite version only).
From the start page:
-Connect to Server
-Select the MS Jet 4.0 OLE DB Provider
-Set the database path on the Connection tab
-Set the access permissions on the Advanced tab to 'read' and 'share exclusive'.
As long as you don't try an save anything all should be well.
HTH,
Ash
-
BTW, EA lite is the the best way to do this as it was designed to be read only.