Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB Enhancement Requests and Suggestions » View Thread |
Messages 1 to 5 of 5 total |
EDBMgr Problem with MyDocuments Folder |
Sat, May 4 2013 8:12 PM | Permanent Link |
Barry | I installed EDBMgr on a laptop along with my database files. When I ran EDBMgr it displayed a dialog window saying something like "Cannot create file" or "Cannot write to file" (sorry, I didn't write it down). When I tried to close down EDBMgr, the dialog kept popping up and prevented EDBMgr from closing. I finally had to kill it off using the Task Mgr.
The problem was traced to a missing My Document folder because the drive containing this folder wasn't mounted. When the drive was mounted, the problem with EDBMgr went away. It would be desirable if EDBMgr could check to see if the MyDocuments folder/drive was present before it tried to write to it. If the folder isn't there, then EDBMgr should use an alternate directory like the Temp directory. (Also check to see if the Temp directory is there before it gets used). I don't know if a compiled Delphi EDB application has the same problem, because I only used EDBMgr on the laptop. Just my 2 cents. Barry |
Sun, May 5 2013 3:15 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Barry
When I read this my first thought was the edbmgr,ini which is the only file I could think of as being necessary, but that, by default, is in AppData. At least it is on Vista, and I'm not aware of any way to change that. A few questions: What OS? Do you have EDBManager set to save and reopen the state? What files related to EDBManager are in MyDocuments? Roy Lambert |
Mon, May 6 2013 2:46 PM | Permanent Link |
Barry | >When I read this my first thought was the edbmgr,ini which is the only file I could think of as being necessary, but that, by default, is in AppData. At least it is on Vista, and I'm not aware of any way to change that.
A few questions: What OS?< Win7 >Do you have EDBManager set to save and reopen the state?< Yes. But EDBMgr should be storing edbmgr.ini on Drive C: under c:\Users\UserName\AppData\Local\ElevateDb Manager. Unless it can't find it there, maybe it goes out to MyDocuments to look for it? Still it should check to see the MyDocuments drive exists before trying to write to the drive. >What files related to EDBManager are in MyDocuments?< There shouldn't be any. That's what surprised me. When I get my hands on the laptop I will run ProcMon to see what files it is trying to access in MyDocuments. Thanks Barry |
Tue, May 7 2013 2:41 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Barry
Looking back at the error messages you get it looks more like a Windows level error than an ElevateDB one. My only other thought (apart from the ever present "oh look a virus") is that someone, somewhere, sometime set up a map linking or pointing to a directory that is used. >>What files related to EDBManager are in MyDocuments?< >There shouldn't be any. That's what surprised me. When I get my hands on the laptop I will run ProcMon to see what files it is trying to access in MyDocuments. Let us know what you find. Roy Lambert [Team Elevate] |
Tue, May 7 2013 4:14 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Barry,
<< I installed EDBMgr on a laptop along with my database files. When I ran EDBMgr it displayed a dialog window saying something like "Cannot create file" or "Cannot write to file" (sorry, I didn't write it down). When I tried to close down EDBMgr, the dialog kept popping up and prevented EDBMgr from closing. I finally had to kill it off using the Task Mgr. The problem was traced to a missing My Document folder because the drive containing this folder wasn't mounted. When the drive was mounted, the problem with EDBMgr went away. It would be desirable if EDBMgr could check to see if the MyDocuments folder/drive was present before it tried to write to it. If the folder isn't there, then EDBMgr should use an alternate directory like the Temp directory. (Also check to see if the Temp directory is there before it gets used). I don't know if a compiled Delphi EDB application has the same problem, because I only used EDBMgr on the laptop. >> EDB, unless you have an open .SQL file that is being loaded from there, does not use the My Documents folder. It only uses the user-specific app-data folder and the user-specific temporary files folder. Of course, then there's the issues of tables, etc. being referenced in My Documents, but that's similar to the SQL. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Friday, April 19, 2024 at 07:09 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |