[Tutor] Difficulty connecting with odbc drivers
Alan Gauld
alan.gauld at freenet.co.uk
Sat Apr 15 16:56:08 CEST 2006
> I have downloaded the mxodbc product. I am using windows xp, python 2.4
> mx.ODBC.Windows.DriverConnect('dsn=c:/test/m2m/data/cost_grid.dbf')
> OperationalError: ('IM002', 0, '[Microsoft][ODBC Driver Manager] Data
> source name not found and no default driver specified', 6044)
> What am I doing wrong and what do I need to do? Any help would be
> greatly appreciated.
You need to set up the driver using the ODBC management applet from
Control Panel->Admin Tools. You don't mention doing that so it may
be you need an extra step. Otherwise I dunno, sorry.
Alan G.
More information about the Tutor
mailing list