> 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...

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.

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