title: Excel crash while trying to insert VSTO addin formula from Office JS Taskpane
body: <p>I am facing an odd issue while connecting VSTO addin formula with office js taskpane. Below is the scenario</p>
  <ol>
  <li>There is one VSTO addin which has several formulas defined in it.</li>
  <li>One newly created office js taskpnae has included as new product and we are trying to use existing formula from the VSTO addin.</li>
  </ol>
  <p>But while inserting any formula from office js to sheet excel is getting crashed. we are returning values from the formula as below</p>
  <p>return ExcelAsyncUtil.Observe(
  &quot;ABC&quot;,
  new object[] { parameters },
  () =&gt; Methoddetails).ToExcelObservable());</p>
  <p>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.</p>
  <p>Can someone help me on this, what could be the possible solution for this?</p>