SQL Connect error????
-
:confused::confused:Hi all, I developed an application with MFC using SQL server datatbse.. This appliaction runs fine on my machine having windows 2000 Pro.. I am getting an error while running the same applicaiton on any fresh machine...The error i am getting is Specified SQL server not found ConnectionOpen (CreatFile())...as far as i can guess this is the problem because there is no SQL server driver installed on fresh machines..what should i do to make it run any machine...i mean is there any way out so that i dont have to install anything else then to run my applicaiton on client side..and it does all.. any help or pointers are highly appreciated.. thanks a lot in advance.. regards, Himanshu
-
:confused::confused:Hi all, I developed an application with MFC using SQL server datatbse.. This appliaction runs fine on my machine having windows 2000 Pro.. I am getting an error while running the same applicaiton on any fresh machine...The error i am getting is Specified SQL server not found ConnectionOpen (CreatFile())...as far as i can guess this is the problem because there is no SQL server driver installed on fresh machines..what should i do to make it run any machine...i mean is there any way out so that i dont have to install anything else then to run my applicaiton on client side..and it does all.. any help or pointers are highly appreciated.. thanks a lot in advance.. regards, Himanshu
You've not shown the actual code that is in error so help is going to be minimal, if at all. Is the application using ODBC?
-
You've not shown the actual code that is in error so help is going to be minimal, if at all. Is the application using ODBC?
:confused:hi, thanks for the reply...yes i am using ODBC in my application...I am trying to install MDAC with the application..now it seems to work fine on other machines where it already doesn't have MDAC..if it has it shows an error again..is there any solution to it??? Please reply???it's very urgent...thanks a lot in advance.. regards Himanshu
-
:confused:hi, thanks for the reply...yes i am using ODBC in my application...I am trying to install MDAC with the application..now it seems to work fine on other machines where it already doesn't have MDAC..if it has it shows an error again..is there any solution to it??? Please reply???it's very urgent...thanks a lot in advance.. regards Himanshu
Well, I was going to suggest updating the SQL ODBC drivers but that may not do it. If your program works fine on machines without MDAC installed and produces an error on machines with MDAC installed, I'm at a loss.
-
Well, I was going to suggest updating the SQL ODBC drivers but that may not do it. If your program works fine on machines without MDAC installed and produces an error on machines with MDAC installed, I'm at a loss.
hi, thanks for ur reply...now it doesnt show any error..i am confused however..it was showing the error..but when i built the same setup on my machine(win2000 pro) with installshield..it works fine..and installs the application...and does the work..I am installing MDAC 2.7 .. thanks a lot anyway.. Himanshu