rvenky20001 Posted July 24, 2012 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
Administrators Farshad Mohajeri Posted July 24, 2012 Administrators Posted July 24, 2012 UniServerModule->AutoCoInitialize->True Quote
rvenky20001 Posted July 25, 2012 Author Posted July 25, 2012 It is set to true. I am having problems with Dbexpress. With ADO it is working fine. Quote
Administrators Farshad Mohajeri Posted July 25, 2012 Administrators Posted July 25, 2012 When used with mssql, DBexpress uses COM interface. Send a test case if you can't resolve the issue. Quote
rvenky20001 Posted August 1, 2012 Author Posted August 1, 2012 I redid the test project from scratch and it worked. Thanks Quote
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.