Re: [dabo-users] SQLite and Dabo with Vista

Author: Paul McNett

Posted: 2009-05-05 at 00:09:00

Paul McNett wrote:

> My money is on the working directory being not what you expect.

See this thread:

http://www.eggheadcafe.com/software/aspnet/30133368/vista-createfile-and-sha.aspx

Are you putting the data in the Program Files directory? That's a big no-no, and

probably the source of your trouble. Put any data off of Documents and Settings, in

either All Users or a specific user.

When run as administrator, it reads/writes to the copy off of Program Files, because

Administrator has the rights. When run as an unprivileged user, from what I

understand it copies the database into a directory where the user has rights

(probably under Documents and Settings somewhere).

Paul

©2009 Paul McNett