rvenky20001 Posted July 24, 2012 Share Posted July 24, 2012 What is the right way to connect to mssql using dbxpress. The connection works in at design time. I have already put sqlncli10.dll, dbxmss.dll,midas.dll,dbxdrivers.ini,dbxconnections.ini in folder from where the exe is running I have complied the application as a VCL/ Standalone Server when viewed from the web, it gives dbx error: driver could not be initialized Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 24, 2012 Administrators Share Posted July 24, 2012 UniServerModule->AutoCoInitialize->True Quote Link to comment Share on other sites More sharing options...
rvenky20001 Posted July 25, 2012 Author Share Posted July 25, 2012 It is set to true. I am having problems with Dbexpress. With ADO it is working fine. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 25, 2012 Administrators Share Posted July 25, 2012 When used with mssql, DBexpress uses COM interface. Send a test case if you can't resolve the issue. Quote Link to comment Share on other sites More sharing options...
rvenky20001 Posted August 1, 2012 Author Share Posted August 1, 2012 I redid the test project from scratch and it worked. Thanks 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.