ID: 31159 Updated by: [EMAIL PROTECTED] Reported By: moricio at hotmail dot com -Status: Open +Status: Feedback Bug Type: COM related Operating System: Windows XP/2000 Server PHP Version: 4.3.10 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-12-17 20:56:21] moricio at hotmail dot com 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 this bug report at http://bugs.php.net/?id=31159&edit=1