#22162 [Com]: Program performs "illegal operation"

From: Date: Tue, 11 Feb 2003 21:36:38 +0000
Subject: #22162 [Com]: Program performs "illegal operation"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32814@lists.php.net to get a copy of this message
ID: 22162 Comment by: webber123456@hotmail.com Reported By: webber123456@hotmail.com Status: Feedback Bug Type: COM related Operating System: win98/pws/ie5 PHP Version: 4.2.3 New Comment: using latest snapshot made no difference still get following (error message dialog box) Php This program has performed an illegal operation and will be shut down If the problem persists, contact the program vendor (click close - browser then returns following message) CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Previous Comments: ------------------------------------------------------------------------ [2003-02-11 09:57:54] sniper@php.net 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 ------------------------------------------------------------------------ [2003-02-11 02:19:51] webber123456@hotmail.com creating a disconnected recordset with access_db/ADO/COM does not work /////////////////////////////////////////////////// # to disconnect a recordset it must be created explicitly $DB_RS = new COM("ADODB.Connection") or die("Cannot start ADO"); $DB_RS->Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" . realpath($DB_Path)); $rstemp= new COM("ADODB.Recordset") or die("Cannot create Recordset");; $rstemp->cursorlocation=3; $rstemp->ActiveConnection = $DB_RS; $rstemp->Open ($SQL,$DB_RS,2,1,0) ; # this line below disconnects the recordset $rstemp->ActiveConnection=null; /////////////////////////////////////////////////// error from this line $rstemp->ActiveConnection = $DB_RS; ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22162&edit=1

« previous php.bugs (#32814) next »