Can you give us "line 2" My guess is that you either have a bad DSN or a bad line in the connect string.
--------------------- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 27, 2002 2:18 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Urgent!!!! > > > I use : > Server:window 2000 server > IIS 5.0 > PHP version :php-4.2.1-Win32 > set DSN in Data Source(ODBC).User DSN =test and point to > Microsoft Access (*.mdb) when i use this code > > > $con=odbc_connect("ingles","","",SQL_CUR_USE_ODBC); > > It has error : > Warning: SQL error: [Microsoft][Administrador de > controladores ODBC] No se > encuentra el nombre del origen de datos y no se especificó > ningún controlador > predeterminado, SQL state IM002 in SQLConnect in > c:\inetpub\wwwroot\hola.php on > > line 2 > > I DSN Ingles Work Fine, I revice all documentation in the > site but, I can't > make work. Please Help me. > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php