Excel-DNA/IntelliSense

MethodAccessException when installing intellisense

blurt opened this issue · 2 comments

blurt commented

Hi Govert,

We came across an unusual exception that we cannot reproduce. It occurred on a user's machine, perhaps it is something specific to their environment.

System.MethodAccessException: Attempt by method 'WrapperType.Wrapped_f5_IntelliSenseServerControl(System.Object)' to access method 'ExcelDna.IntelliSense.IntelliSenseServer.IntelliSenseServerControl(System.Object)' failed.
at WrapperType.Wrapped_f5_IntelliSenseServerControl(Object )

This exception was captured from our handler registered via ExcelIntegration.RegisterUnhandledExceptionHandler

ExcelDna.IntelliSense 1.1.0 - Excel 2016 - Windows 10 Pro 64-bit

I am guessing that the reflection used in IntelliSenseServer is the cause?

Any thoughts? Thanks.

blurt commented

The DLL is distributed in the same directory as the XLL. We have not come across it since (it is possible that this user has not used the Add In since).