BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

"unavailable database" when connecting from DLL (C/C++, Win3

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop)
View previous topic :: View next topic  
Author Message
Jukka Palander
Guest





PostPosted: Fri Mar 18, 2005 9:33 am    Post subject: "unavailable database" when connecting from DLL (C/C++, Win3 Reply with quote



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.


Back to top
Ed Mulroy [TeamB]
Guest





PostPosted: Fri Mar 18, 2005 3:23 pm    Post subject: Re: "unavailable database" when connecting from DLL (C/C++, Reply with quote



Please read the newsgroup guidelines:
http://info.borland.com/newsgroups/guide.html

Among them are guidelines specifying that you both do not post a given
message to all newsgroups in sight and that you select a newsgroup
whose subject relates to that of the question.

You have posted a C++ Builder question to the newsgroup for Borland
C++, a different compiler, and also to the Interbase General and C++
Builder Database Desktop groups.

Pick the newsgroup which best relates to the subject of your question
and post one copy of your message in that one group.

.. Ed


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.