From:             [EMAIL PROTECTED]
Operating system: Win2K Winnt4
PHP version:      4.0.4pl1
PHP Bug Type:     COM related
Bug description:  Cannot create ADO objects with MDAC 2.6

The code snippet below fails on the line which sets the Active Connection of the 
Command Object.  It works OK with MDAC 2.5 SP1, but not MDAC 2.6 - weird...

        require "adovbs.php";
        $conGFA = new COM("ADODB.Connection") or die("Unable to instantiate GFA DB 

        $conGFA -> ConnectionString = "Provider=SQLOLEDB;OLE DB Services=0;Persist 
Security Info=False;User ID=UserID;Password=Password;Initial Catalog=gfa;Data 
        $conGFA -> Open;

        $cmdGFA = new COM("ADODB.Command") or die("Unable to instantiate GFA DB 
Command Object");

        $cmdGFA -> ActiveConnection = $conGFA -> ConnectionString;

Edit Bug report at:

PHP Development Mailing List <>
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