ID: 11655
Updated by: phanto
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: COM related
Operating system: 
PHP Version: 4.0.6
Assigned To: 
Comments:

i can't reproduce this. are you sure that your mdb is in the right place ? i get this 
kind of error if the DSN is invalid.

harald

Previous Comments:
---------------------------------------------------------------------------

[2001-06-26 10:29:12] [EMAIL PROTECTED]
The exception occurs in line 5, which is

$dbc->Open($myDSN); 



---------------------------------------------------------------------------

[2001-06-26 10:20:46] [EMAIL PROTECTED]
in which line does the warning occur ?

---------------------------------------------------------------------------

[2001-06-25 06:49:59] [EMAIL PROTECTED]
This does not work, but worked unchanged in PHP 4.0.4pl1

$myDSN = "DSN=dbEmpty;DBQ='c:\test.mdb';DRIVER={Microsoft Access 
Driver(*.mdb)};UID='root';PW='';";

$dbc = new COM("ADODB.Connection");
$dbc->Provider = "MSDASQL";
$dbc->Open($myDSN);

Warning: Invoke() failed: Exception occurred (line $dbc->Open($myDSN); )

Setting from php.ini:
;com.typelib_file = 
com.allow_dcom = On



---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11655&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to