[PHP] Re: error while running com

2005-08-22 Thread mikespook
Could u show me ur source code?

sangram [EMAIL PROTECTED] 
??:[EMAIL PROTECTED]
 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---C000-0046}: 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. 

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



Re: [PHP] Re: error while running com

2005-08-22 Thread tg-php
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 [EMAIL PROTECTED] 
??:[EMAIL PROTECTED]
 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---C000-0046: 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