Excel-DNA / Excel-DNA/IntelliSense

MethodAccessException when installing intellisense

Open
#77 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
179
Forks
55
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/Excel-DNA/IntelliSense/blob/994749a92a1f7184325f354099fcfe4d7e53a414/Source/ExcelDna.IntelliSense/IntelliSenseServer.cs#L501) is the cause?

Any thoughts? Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.