Hi Vlad, >> I have a database with Firebird 2.5.0 embedded which I want to access >> from a regular application started by the currently logged in user >> (member of the local workstation administrators group) and a Windows >> service application. >> >> I can do this just fine when going through a regular Firebird server >> instance via TCP/IP but I can't get it work with Embedded. I get the >> following exception when the second application tries to open the database: >> >> Database is probably already opened by another engine instance in >> another Windows session. >> >> >> Both executables are 32-bit, thus there is no mix of 32/64-bit Firebird >> servers here. >> >> When I have started the Windows service and run the regular application >> with "Run as administrator" on Win7 this works fine then, so I guess it >> is a privilege/security issue. > > Yes. It was explained here > > > http://firebird.1100200.n4.nabble.com/SeCreateGlobalObjects-Vista-s-UAC-and-Firebird-tp1125319p1125319.html
Ah, thanks for the hint. Read it. ;-) Was the following just an intermediate outcome of the discussion or the final implementation? a) users from the Administrators group must run such application with elevated privileges b) standard users could be granted SeCreateGlobalObjects privilege directly or by including them into special users group which have this privilege granted. My interpretation for b): Even if standard users get SeCreateGlobalObjects granted, they still need to run the application with elevated privileges as in a)? Thanks, Thomas ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel