Subject Re: [firebird-support] FB Embedded and Windows Vista (again)
Author Mark Rotteveel
You should not put userdata in Program Files, that is disallowed by Windows Vista and higher. I am not exactly up to speed to the current Microsoft standard for file-placement, but I believe you need to use the folder C:\ProgramData for general data not specific to a user (and I believe that there is a environment variable pointing to the correct folder).

That it worked under Windows XP and earlier does not mean that it was the recommended method (it was not).

Mark

> Hi,
>
> I know this is a wide discussed topic here, but even after reading many
> posts and done many Google searches I can't find a solution for this.
>
> When using FB embedded under Vista/Win 7 my application fails to start.
>
> I am using FB 2.1.2 Embedded, installed under c:\program
> files\company\product\.
>

> The error I get is this:
>
> MyDM.MainDatabase:
>
> This user does not have privilege to perform this operation on this
> object.No permission for read-write access to database C:\PROGRAM
> FILES\MY_COMPANY\MY_PRODUCT\MY_DATABASE.FDB.
>
> I already changed the firebird.conf to set IpcName = Global\FIREBIRD ,
> created a manifest file, but nothing seems to work.
>
> I know I can run the app with admin rights, but I want users to be able to
> install and run the program without complications just like they do in XP.
>
> At this time I keep inform users that they should disable the UAC or right
> click in the link and choose to run as admin, but this is not good, since
> I
> don't see other programs with this problem.
>
> Is there any real solution for this problem?
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01