gsurange

The object invoked has disconnected from its clients. (RPC_E_DISCONNECTED)

Discussion created by gsurange on Oct 5, 2011
Latest reply on Oct 12, 2011 by gsurange
I have a c# script developed to update feature class. This script always runs fine on one server and not always - but most of the times throws below error on other server. The error comes at a function call of IFeatureClass 'Insert' method.

Error: The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED))

I only see one difference in servers, that one has IIS and other does not.
But, IIS is not required for this script; because the script is a console application.
Scripts runs OK on a server with IIS and fails sometimes on server without IIS.

Please share a fix or suggest/provide a solution.

Outcomes