Subj : "unavailable database" when connecting from DLL (C/C++, Win32API, Interbase API)? To : borland.public.interbase.general,borland.public.cpp.borlandcpp,borland.public.cppbuilder.database.desktop From : Jukka Palander Date : Fri Mar 18 2005 10:33 am Hi! Does anybody have a solution what to do when I got "unavailable database" when trying to connect to Interbase (Desktop 7) from Microsoft IIS ISAPI Extension (dll)? Exactly same code works well when calling from "standard" exe... I am using native Interbase API with C (not C++! -> using C++ Builder 6 and Win32 API) and I know there is exactly same kind of issue when trying to connect using ODBC and User DSN. Wont work, instead one should create a System DSN to allow inetinfo to connect to database through extension dll. Now, the problem is that I cannot figure out where I set permissions so that direct connect from dll can work as same way.. Do I have to set SYSTEM rights somewhere in windows user policy settings (instead than using Administrator) or must I do something in the C code -> ie. handle windows security descriptors to set permission to inetinfo to do it...?? ANY HELP Please! Thank you. ----- the Trouble. .