Friday, 18 May 2012

Unable to cast COM object of type 'System.__ComObject' to interface type 'System.EnterpriseServices.IRemoteDispatch'

Users were receiving the following error when submitting a transaction in a econnect application.

Unable to cast COM object of type 'System.__ComObject' to interface type 'System.EnterpriseServices.IRemoteDispatch'.

This operation failed because the QueryInterface call on the COM component for the interface with

IID '{6619A740-8154-43BE-A186-0319578E02DB}' failed due to the following error:

Illegal operation attempted on a registry key that has been marked for deletion. (Exception from HRESULT: 0x800703FA).

Reviewing the systems event log we also saw the following error

The application-specific permission settings do not grant Local Launch permission for the COM Server application with CLSID




to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.

To correct the problem IISRESET works but the problem then comes back after a while.  We have added the Network Service to have local launch permission for the APP ID
{FAAFC69C-F4ED-4CCA-8849-7B882279EDBE} which is MsDTSServer100

No comments:

Post a Comment