ExcelDna
ExcelDna copied to clipboard
Warning: "SynchonizationManager could not be installed - probably running in HPC host or Regsvr32.exe"
This error happens on some computers, without any visible reasons. RTD server doesn't work in such cases, it starts and then immediately gets terminated. Any ideas why this may be happening?
What's the exact Excel-DNA version you're running?
Could you have a mismatched ExcelDna.Integration.dll file somehow?
You might need to investigate the exact sequence of file opening / add-in loading that causes this. Sometime the RTD server gets loaded before the .xll add-in.
I changes some relevant stuff in March - see https://github.com/Excel-DNA/ExcelDna/commit/d8f2c37c0145525f8f05a69b983ed22518c33290
@govert Excel-DNA version - 1.0.7056.37028 Mismatched file - no. The addin is packed, and same addin file works on most PCs and fails on a few of them. Loading sequence - do you mean RTD server loaded before IExcelAddIn.AutoOpen() is called?
PS I'll update Excel-DNA and see if the problem persists
I suggest you upgrade to Excel-DNA version 1.1.1
Loading sequence - do you mean RTD server loaded before IExcelAddIn.AutoOpen() is called?
Yes - for example if you double-click to open a sheet with some RTD formulas on. Then Excel might try to load the RTD server before the .xll add-in is loaded. I've tried to improve support for that scenario.
So to reproduce the problem repeatably might mean you need to figure out something like that - you need a particular sheet and then manage how things are loaded and opened. Being able to reproduce the problem would help a lot. I don't think it is related to an Excel version.