Hello All,
I had this error on one of my elements in the DataMiner system. After a server restart the error was no longer present, but I would like to understand why this occurred in the first place. Am I able to get some assistance in understanding this error. Many thanks
System.InvalidCastException: Unable to cast COM object of type 'Interop.SLDms.DMSClass' to interface type 'Interop.SLDms.IDMS'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{21DD3704-3201-410D-A9EF-AAF10BA27496}' failed due to the following error: The requested object does not exist. (Exception from HRESULT: 0x80010114).
at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
at Interop.SLDms.DMSClass.Notify(Int32 iType, Int32 iSubType, Object varValue, Object varValue2, Object& pvarValue)
Hi Ryan, the underlying error indicates that the COM object being accessed was no longer available. A stale reference could explain this, but the stack trace alone does not establish the cause. The restart cleared the symptom without confirming what triggered it.
We haven’t identified a matching task or release note in the checks completed so far. If it happens again, please collect a log package before restarting the DMA, note the occurrence time, and report it to our support@dataminer.services for further investigation.