#31159 [NEW]: COM object access is not working

From: Date: Fri, 17 Dec 2004 19:56:22 +0000
Subject: #31159 [NEW]: COM object access is not working
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-70536@lists.php.net to get a copy of this message
From: moricio at hotmail dot com Operating system: Windows XP/2000 Server PHP version: 4.3.10 PHP Bug Type: Reproducible crash Bug description: COM object access is not working Description: ------------ this sample code $conn = new COM("ADODB.Connection") or die("Cannot start ADO"); $conn->Open("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=./thefile.mdb;"); $rs = $conn->Execute("SELECT * FROM thetable"); doesn't work in PHP version 4.3.10. DCOMCNFG was used to allow permissions on the COM object for execution. It worked flawlessly in version 4.3.9 MRamirez Reproduce code: --------------- $conn = new COM("ADODB.Connection") or die("Cannot start ADO"); $conn->Open("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=./thefile.mdb;"); $rs = $conn->Execute("SELECT * FROM thetable"); Expected result: ---------------- A successful connection to the COM Object. Actual result: -------------- PHP has encountered an Access Violation at 6E6E6F63 -- Edit bug report at http://bugs.php.net/?id=31159&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31159&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31159&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31159&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31159&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31159&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31159&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31159&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31159&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31159&r=support Expected behavior: http://bugs.php.net/fix.php?id=31159&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31159&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31159&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31159&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31159&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31159&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31159&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31159&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31159&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31159&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31159&r=mysqlcfg

« previous php.bugs (#70536) next »