Fix (sortof) - If I run PHP as an ISAPI module then instantiating a COM
object works fine and as intended, the minute I try it using under CGI
binary it gives the error. Alas alak my production environment will have to
wait a while for COM object use until it's bulletproof...

It had little bearing on the COM object as I tried many different COM
objects, from ADODB.recordset to IXSSO.QUERY and ole faithful
WORD.APPLICATION.. none of which worked under CGI.


Regards
Rowan

----- Original Message -----
From: "Sven Schnitzke"
To: "'Rowan Hick'" <[EMAIL PROTECTED]>
Sent: Saturday, March 08, 2003 10:05 PM
Subject: AW: [PHP-WIN] cgi error when instantiating a com application


Please be more descriptive! At least you might wish to  reveal the upcoming
windows error message. Most likely the center of the problem  lies in the
usage of the COM object. Is the web server user IUSR_[machinename] allowed
to open this kind of query?
--
Sven

> -----Ursprüngliche Nachricht-----
> Von: Rowan Hick [SMTP:[EMAIL PROTECTED]
> Gesendet am: Freitag, 7. März 2003 22:55
> An: [EMAIL PROTECTED]
> Betreff: [PHP-WIN] cgi error when instantiating a com application
>
> Hi All,
>
> If anyone could shed light on this I would be well appreciative.
>
> Under IIS 5.1, XP Pro, PHP 4.3.0 and PHP 4.3.1 whenever I instantiate a
com
> object ie:
>
> $myobj = new com ("ixsso.query") or die ("blah..")
>
> I get a windows error message, although the script does execute up until
the
> com object call. If I call an invalid object ie ("muppet.fraggle") then
I'll
> get my correct die message and no error. If I don't have any script before
> the new com call then I'll get a CGI error "The specified CGI application
> misbehaved by not returning a complete set of HTTP headers. The headers it
> did return are:"
>
> AppName: php.exe AppVer: 4.3.1.1 ModName: php4ts.dll  ModVer: 4.3.1.1
> Offset: 00030727
>
> I've tried installing Apache 2 and retesting, I get the same result.
Anyone
> else struck this problem ? Resolutions ?
>
> Kind Regards,
>
>
> Rowan
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to