fd6093 Posted July 23, 2011 Share Posted July 23, 2011 Hi all I Can't connect to database ISAPI Mode (dbexpress), but Standaloneservermode is ok . I used Apache 2.2 webserver . Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 23, 2011 Administrators Share Posted July 23, 2011 I need more details. Type of Database used. Error codes. Quote Link to comment Share on other sites More sharing options...
fd6093 Posted July 23, 2011 Author Share Posted July 23, 2011 Dear all Database Firebird 2.1 connect driver by Devart InterBase library dbexpida40.dll Error code 00001404: 03:30:16:EOleException : unavailable database thank you. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 23, 2011 Administrators Share Posted July 23, 2011 You may try setting ServerModule->AutoCoInitialize->True Quote Link to comment Share on other sites More sharing options...
fd6093 Posted July 24, 2011 Author Share Posted July 24, 2011 You may try setting ServerModule->AutoCoInitialize->True Hi Farshad Mohajeri Test connect Firebird database , Apache 2.2 mode standalone ISAPI IBx Works Great Works Great dbexpress (Devart) Works Great Not Works. Error Log est04: 00001960: 12:59:11HttpExtensionProc:TDBXError : unavailable database Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 24, 2011 Administrators Share Posted July 24, 2011 Have you set "ServerModule->AutoCoInitialize->True"? Quote Link to comment Share on other sites More sharing options...
fd6093 Posted July 24, 2011 Author Share Posted July 24, 2011 Have you set "ServerModule->AutoCoInitialize->True"? Yes I set "ServerModule->AutoCoInitialize->True" Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 24, 2011 Administrators Share Posted July 24, 2011 Then there must be specific settings in DevArt which I'm not aware of! Quote Link to comment Share on other sites More sharing options...
thecrgrt Posted July 25, 2011 Share Posted July 25, 2011 I've found the same error, it was related to FBClient.dll version, it's only effected to 64-bit system(there is no problem for 32-bit system) and ISAPI moddules (IIS/Apache and others). You can workaround by get rid of database connection code form ISAPI module and dedicated its into other tier(I mean multi-tiered app.), it could executed in the same machine, of course. If you used Delph version atleast 2009, I was strongly recommended to use DataSnap. Quote Link to comment Share on other sites More sharing options...
thecrgrt Posted July 25, 2011 Share Posted July 25, 2011 ...I mean multi-tiered app... By the way, you can use any methods for it, but Delphi multi-tiered frame work is the easiest way to implement database connection out of process. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.