RPC_E_DISCONNECTED error
Copy link to clipboard
Copied
Recently I received errors on both Windows Vista and XP when scripting InDesign CS4 for Windows using VB.NET.
The error reads RPC_E_DISCONNECTED; it seems connection with InDesign CS4 is lost, although the program is still active and in a normal state.
What could be done about this, is there a way to set a time-out for RPC communcation ? Can I do anything in the .NET program to do so ?
By the way, the same program runs fine with InDesing CS3.
Any suggestions welcome !
Copy link to clipboard
Copied
Hi Roelof,
Had a quick Google, and found this tangentially related info:
http://support.microsoft.com/kb/293631/en-us
The key phrase that caught my eye was:
"This error usually occurs when one of the following conditions is met:
...
• No network communication is possible between the client and server computer for six minutes or more.
Copy link to clipboard
Copied
Thanks Kris, but this error occurrs much quicker than in 6 minutes, its more like 6 seconds !
On different machines it happens in different script steps.
So I am wondering where/how I could set the RPC timeout value which is obviously too short now....

