> > Which explained that for the file mapping to work when connecting to a
> > database on the terminal server, I need to give my users "Create global
> > objects" rights.
> 
> It's hard to say, actually. Higher up on the page (in the lpName parameter
> description) it says:
> 
>     Terminal Services:   The name can have a "Global\" or "Local\" prefix
>     to explicitly create the object in the global or session namespace.
>     The remainder of the name can contain any character except the
> backslash
>     character (\). Creating a file mapping object in the global namespace
>     requires the SeCreateGlobalPrivilege privilege.
> 
> Obviously, for embedded, you only need it in the session namespace, and
> the
> last sentence there implies that you DON'T need SeCreateGlobalPrivilege
> for
> that to work. Some experimentation may be required...

I'm fairly certain that Firebird uses the "Global\" namespace because the
SeCreateGlobalPrivilege is required on the terminal server. When I add a
user to a group that has that permission, the application runs just fine and
doesn't throw any errors. The application also runs just fine when a member
of the administrators group runs it.

That being said, I would appreciate anyone who would provide a second pair
of eyes to this problem. I could be looking at this from my little box and
missing something important.

> 
> All that being said, this code is actually just calling the native code in
> fbembed.dll, so I'm pretty sure the error is in the database server and
> not
> the .net provider.

I agree with that assessment. I'm just not sure which mailing list will get
the most traction. Also, I'm still not sure that I'm not doing something
wrong with the way I'm using the .Net provider to connect to the embedded
database.

> 
> Dean.



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to