COM gurus... please help
| From: | Asendorf, John | Date: | Thu, 24 Oct 2002 13:46:41 +0000 |
| Subject: | COM gurus... please help | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-16523@lists.php.net to get a copy of this message | ||
Hello all,
PHP 4.2.3, NT4, IIS4
I finally have a practical application to use COM and I'm trying to port
some ASP scripting. I'm getting an error (Warning: Invoke() failed:
Exception occurred. Source: Unavailable Description: Unavailable in
D:\spoof\gis\file.php on line 66 and then the timeout error). The second
uncommented line is line 66 ($objMapSvr = ...). If someone knows the ASP
code, it's commented above the PHP lines. Any help would be appreciated.
The ASP file runs fine. I have a feeling once I get past this hump... the
rest should run smoothly. Thanks, John
//Set objMapSvrMngr = Server.CreateObject("GMWebMap.MapServerManager")
$objMapSvrMngr = new COM("GMWebMap.MapServerManager") or die("Couldn't
create COM");
//set objMapSvr = objMapSvrMngr.MapServer("")
$objMapSvr = $objMapSvrMngr->MapServer("");
---------------------
John Asendorf - jasendorf@lcounty.com
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit