>Hello,
>
>I do some Word automation from my VFP 9 SP2 application.
>
>That works on my machines under Win 7 and Win8.1.
>
>Now I installed that app on a customer system that uses Terminal Server. There I get an error and an odd behaviour.
>
>The error is 0x800706BA, RPC Server not available when the last command to Word is given (oWord.Quit()).
>
>On my machines all steps in Word are shown on the monitor while on the customer system only the Word icon in the task bar is "flickerung".
>
>As mentioned before, the error and odd behaviour is not shown on my machines.
>
>Any idea what is going here greatly appriciated.
If you're trying to automate Word, well, good luck... it works until it breaks. It's possible that they are one version (of Word) ahead of you on that machine, or that the instance of it is running at a slightly more paranoid settings. Any of these may suffice to break your code.
Is Word visible? The flickering icon leads me to suspect that it should be, or that it's trying to display a dialog, probably somewhere under your app. Try to alt-tab to it to see what's up. You may have turned the dialogs off, but new dialogs aren't necessarily of the same class or members of the same collection or be written by the same team, so they may just ignore the setting and still show up. Often it's an imminent catastrophe warning of the "you may be trying to print outside the printable area of the current printer" kind. You can't know until you make that dialog visible.
Of course, I may be completely wrong and it's really something different this time. I'll keep an eye on this thread.