Excel Application Scope: Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘System.Runtime.InteropServices.ComTypes.IConnectionPointContainer’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{B196B284-BAB4-101A-B69C-00AA00341D07}’ failed due to the following error: The requested object does not exist. (Exception from HRESULT: 0x80010114).
I have an excel in the folder, this activity is just use excel app scope to read the range.
But my code always has error in here, if i disable this excel app scope, then the process works fine.
Any idea how to solve this? it is really weird, because i have another excel app scope which works fine.
18 posts - 12 participants