Excel crash while trying to insert VSTO addin formula from Office JS Taskpane

110 Views Asked by At

I am facing an odd issue while connecting VSTO addin formula with office js taskpane. Below is the scenario

  1. There is one VSTO addin which has several formulas defined in it.
  2. One newly created office js taskpnae has included as new product and we are trying to use existing formula from the VSTO addin.

But while inserting any formula from office js to sheet excel is getting crashed. we are returning values from the formula as below

return ExcelAsyncUtil.Observe( "ABC", new object[] { parameters }, () => Methoddetails).ToExcelObservable());

We can see the log as below also 2020-10-10 07:26:36.5178 [ERROR] [T:1] - The RTD server of type ExcelDna.Integration.Rtd.ExcelObserverRtdServer required by add-in addinname could not be registered. This is an unexpected error. Error message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Can someone help me on this, what could be the possible solution for this?

0

There are 0 best solutions below