|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-12-23 02:43 UTC] edink@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 23 16:00:01 2025 UTC |
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