What OS are you running this on? -- Scott Carr OpenOffice.org Documentation Maintainer http://documentation.openoffice.org/
Quoting "Asendorf, John" <[EMAIL PROTECTED]>: > UPDATE > > Well, I've got it working now, KINDA. Here's the problem, when I call the > script the first time, it runs fine and displays the map properly. BUT, if > I call the script again, it won't run. If I wait for the $objMapSvr object > to timeout, it will run again, or if I stop and start the Map Service it > will run again. > > Any information or suggestions? I'm wondering if there is a problem since > the $objMapSvr object is made from the $objMapSvrMngr object? Can I make a > COM object from a COM object? (Or for that matter, SHOULD I?) > > Thanks, > > John > > --------------------- > John Asendorf - [EMAIL PROTECTED] > 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 > > > > -----Original Message----- > > From: Asendorf, John [mailto:JAsendorf@;lcounty.com] > > Sent: Thursday, October 24, 2002 9:47 AM > > To: Php-Windows (E-mail) > > Subject: [PHP-WIN] COM gurus... please help > > > > > > 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 - [EMAIL PROTECTED] > > 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 > > > > -- > > 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 > > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php