You are here: Re: [PHP] Re: error while running com « PHP « IT news, forums, messages
Re: [PHP] Re: error while running com

Posted by tg-php on 08/22/05 19:54

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@pacificinteractive.co.in>
??????:2205.221.128.138.123.1124551935.squirrel@web80.linux-hosting.com...
> 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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация