Hello,
I have an excel application scope where i have multiple write cell activities that must execute. I can run locally on machine without issue, but when i publish and run through orchestrator on a VM i get the following error:
Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Microsoft.Office.Interop.Excel.Worksheet’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{000208D8-0000-0000-C000-000000000046}’ failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
Inside my excel application scope i have multiple write ranges that execute correctly on the VM. It seams the only issue im having is getting the Write Cells to function properly without error on the VM.
The following 5 sequences inside the excel application scope pictured above do not execute due to the error:
My first sequences looks the this: I have a for each loop and then a switch statment. Depending on what the name is, i can then determine what cell to write to.
Any ideas as to why the write cell activities do not work when running on a VM?