#21928 [NEW]: Cannot find valid ODBC DSN

From: Date: Tue, 28 Jan 2003 22:57:44 +0000
Subject: #21928 [NEW]: Cannot find valid ODBC DSN
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31511@lists.php.net to get a copy of this message
From: Matt.hintze@nana.com Operating system: Win2k server PHP version: 4.3.0 PHP Bug Type: ODBC related Bug description: Cannot find valid ODBC DSN PHP cannot find a valid ODBC datasource. Even though the DSN has been verified and connected to with other products like MS access. The DSN points to a SQL Server database. To complicate matters, PHP can see a DSN that was previously created on for the same SQL server instance. But when trying to create any new DSN, PHP cannot see it. This app was run on my local win2k pro box and worked fine. When I moved it to my Win2k server, it cannot fins the ODBC DSN. I see other bug posts that have had the same problem, yet reponses say that it is not a bug. Line 10 > $connect_TI = odbc_connect("ti_readonly","TI_readonly","TI_readonly"); Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in c:\inetpub\wwwroot\survey\survey.php on line 10 -- Edit bug report at http://bugs.php.net/?id=21928&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21928&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21928&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21928&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21928&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21928&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21928&r=support Expected behavior: http://bugs.php.net/fix.php?id=21928&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21928&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21928&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21928&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21928&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21928&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21928&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21928&r=gnused

« previous php.bugs (#31511) next »