Re: Re: error while running com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Showing your code might be useful but taking a shot in the dark here, I'm guessing that after a while, you have too many instances of Word still instantiated.

I remember there being an issue when using COM where the application wouldn't quit properly.

Try using $appinst->Quit() as well as $appinst->Close()   (I think that's right)

If you look at your Windows Task Manager, I'm guessing that you'll see an Word app still running even after you thought it had closed.

I'm pretty sure Quit() was one method to call and I think Close() was the other one.  Don't remember if you have to do one THEN the other (and don't remember which order.. sorry) or if one works while the other only sort-of works.

Anyway, check into that.  I'm pretty sure that may help you.

-TG

= = = Original message = = =

Could u show me ur source code?

""sangram"" <sangram@xxxxxxxxxxxxxxxxxxxxxxxx> 
??????:2205.221.128.138.123.1124551935.squirrel@xxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
> i had uploaded the com application on win2003 server with word 2003
> installed.It runs perfect The traffic of word files increases or other
> reasons the following message starts displaying.
>
> Warning: (null)(): Unable to obtain IDispatch interface for CLSID
> 000209FF-0000-0000-C000-000000000046: Server execution failed in
> c:\inetpub\wwwroot\localuser\sound1007\www\com.php on line 15
> Unable to instanciate Word
>
>
>     If the server is rebooted again the application starts without errors.
> Pls help me what will be the problem.
> Sangram. 


___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux