January 9, 2008 at 5:49 am
I am trying to create a odbc data source with following command:
ODBCCONF /A {CONFIGDSN "SQL Server" "DSN=test3 | SERVER=.\SQLEXPRESS | Trusted_Connection=Yes |Database=measurements"}
This creates the data source but if I try it the connection to the database fails.
The strange thing is that if I create an Identical data source using the graphical obdc data sources tool the data source created this way works fine.
January 10, 2008 at 6:40 am
I'll change my question a bit. What string I need to the place of "sql server" if I want to use sql native client driver. Simply "sql native client driver" did not work.
January 11, 2008 at 6:41 am
April 15, 2009 at 2:00 am
Hello everybody
Thank a lot for the example of ODBCCONF line.
I just have a little question, (cause when i create an existing ODBC connexion, sometimes, the old one is replaced by the new one, sometimes, I have 2 connections with the same name )
I'm asking to myself if ODBCCONF allow to destroy an existing connexion, and how ?
Thank for any help
Ivy
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply