Anit said: “Hi Eric, You need the ODBC service installed, in order to use the Datasources.”
Well, to be clear, one does not really “need the ODBC service” to “use” a datasource unless one is adding an ODBC datasource, of course. If you’re using any of the other datasource types (like SQL Server, MySQL, and so on) one does NOT need ODBC installed. I do realize that Eric is saying he got this error in trying to “add a DSN” and so we can presume (and Anit’s comment did) that he must have been adding an ODBC DSN.
But I say the above in case someone else reads this thread and might read more into Anit’s comment than he really meant. ODBC services are optional at install of CF and needed only if one is using an ODBC DSN (sadly, the interface of the installer doesn’t make that clear, so many add it even though they don’t need it).
And indeed, some use ODBC datasources even to connect to DBs like SQL Server, simply because they’ve been “doing it that way” going back to before CF6 when JDBC datasources were added and should have been the default for all going forward unless specifically using ODBC datasources.
(Along those lines, I’ve wondered myself if the Access datasource type in CF6 and above even itself needs ODBC. I think it’s using a JDBC-to-ODBC bridge, just as there is a datasource type for that specifically. Does anyone know if one needs the ODBC service for either of those? It’s not obvious to me, but I’ve just never tested it.)
So with all that said, Eric, do you really need to use an ODBC datasource?
/charlie