Discussion:
DB error with vista
(too old to reply)
patrickartaud
2007-05-02 14:41:31 UTC
Permalink
Hello,
my application works fine with XP in this application I create directories
containing db files this directori is in the application directory.
But when I try to activate a TTable I have now an error message with "don't
find the network path or inexisting directories" and sais is an EDBEEngine
error
I don't know what to do I have already try some other creata table and
active it is the samething.
Could you help me please with
I thank you very much by advance
Patrick
Antonio Felix
2007-05-05 17:25:36 UTC
Permalink
Post by patrickartaud
Hello,
my application works fine with XP in this application I create directories
containing db files this directori is in the application directory.
But when I try to activate a TTable I have now an error message with
"don't find the network path or inexisting directories" and sais is an
EDBEEngine error
Hi Patrick,

Move the Data Directory to other location. Don't use any level under the
Program Files
one.

HTH
Antonio
patrickartaud
2007-05-07 17:13:54 UTC
Permalink
Thank you very much!!!
If I understand I build a directory in for example c:/
or must I ask vista a directory with permission
the more easy is in c:/
Thank you again
Patrick
Post by Antonio Felix
Post by patrickartaud
Hello,
my application works fine with XP in this application I create
directories containing db files this directori is in the application
directory.
But when I try to activate a TTable I have now an error message with
"don't find the network path or inexisting directories" and sais is an
EDBEEngine error
Hi Patrick,
Move the Data Directory to other location. Don't use any level under the
Program Files
one.
HTH
Antonio
Don
2007-05-07 18:06:50 UTC
Permalink
From what I have learned about Vista, you must put the program in the
\Program Files\<your appname>. All files that your app writes to must go
in \users\<user name>\AppData\Local\<appname>. The local directory
could be the roaming directory if you want to mess around with that. I
had to create an inno install that has to be run by the administrator.
It installs the program to the \Program Files\<appname> directory. It
copies the tables to the \users\all users\appdata\<appname>. Then when
the program is first run by any user, it check to see if the files are
in the \users\<user name>\AppData\Local\<appname>. If it doesn't see
them, it copies the files from the \users\all users\appdata\<appname> &
sets the path in the registry. The program now knows where to find the
tables. I use the Advantage Databases. I had to eliminate the ads.ini
file that the program read to find out where the tables were.
HTH. Don
patrickartaud
2007-05-08 10:49:44 UTC
Permalink
Thank you very much vista is very restrictive I see!!!
I go to do this
Thank you again
Patrick
Post by Don
From what I have learned about Vista, you must put the program in the
\Program Files\<your appname>. All files that your app writes to must go
in \users\<user name>\AppData\Local\<appname>. The local directory could
be the roaming directory if you want to mess around with that. I had to
create an inno install that has to be run by the administrator. It
installs the program to the \Program Files\<appname> directory. It copies
the tables to the \users\all users\appdata\<appname>. Then when the
program is first run by any user, it check to see if the files are in the
\users\<user name>\AppData\Local\<appname>. If it doesn't see them, it
copies the files from the \users\all users\appdata\<appname> & sets the
path in the registry. The program now knows where to find the tables. I
use the Advantage Databases. I had to eliminate the ads.ini file that the
program read to find out where the tables were.
HTH. Don
Loading...