Bug #11655 Updated: Ivoking COM will not work.
| From: | roland at daydream dot co dot uk | Date: | Tue, 26 Jun 2001 14:29:12 +0000 |
| Subject: | Bug #11655 Updated: Ivoking COM will not work. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58069@lists.php.net to get a copy of this message | ||
ID: 11655
User Update by: roland@daydream.co.uk
Status: Open
Bug Type: COM related
Operating system: Win NT4.0 SP6a
PHP Version: 4.0.6
Description: Ivoking COM will not work.
The exception occurs in line 5, which is
$dbc->Open($myDSN);
Previous Comments:
---------------------------------------------------------------------------
[2001-06-26 10:20:46] phanto@php.net
in which line does the warning occur ?
---------------------------------------------------------------------------
[2001-06-25 06:49:59] roland@daydream.co.uk
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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=11655