Excel-DNA / Excel-DNA/ExcelDna

Problem with RTD registration when inserting formula from JavaScript add-in

Open
#355 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
292
Avg merge
20d 12h
Merged PRs (30d)
1

Description

From: https://stackoverflow.com/questions/64313978/excel-crash-while-trying-to-insert-vsto-addin-formula-from-office-js-taskpane

I am facing an odd issue while connecting VSTO _(Excel-DNA?)_ addin formula with office js taskpane. Below is the scenario

There is one VSTO _(Excel-DNA?)_ addin which has several formulas defined in it.
One newly created office js taskpnae has included as new product and we are trying to use existing formula from the VSTO _(Excel-DNA?)_ 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.