Subject | RE: [firebird-support] FB Embedded and Windows Vista (again) |
---|---|
Author | Alan McDonald |
Post date | 2009-06-26T11:10:23Z |
> Hi,On Vista, you do not have permission to read write to the "Program Files"
>
> 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?
> Regards,
> Luis Madaleno
>
directory.
You need to install to "ProgramData" directory OR install to a separate
Users subdirectory. That's the only way to fix this other than the way you
have discovered
Alan