Muokkaa

Jaa


notMarshalable MDA

Note

This article is specific to .NET Framework. It doesn't apply to newer implementations of .NET, including .NET 6 and later versions.

The notMarshalable managed debugging assistant (MDA) is activated when the common language runtime (CLR) encounters a COM interface pointer without a valid registered proxy/stub or an incorrect IMarshal interface implementation while attempting to marshal the interface across contexts.

Symptoms

Calls are not serviced, or calls occur in the wrong context for COM interface pointers.

Cause

No valid registered proxy/stub or an incorrect IMarshal while attempting to marshal the interface across contexts.

Resolution

Make sure you have a proxy stub registered and that the IMarshal implementation is valid.

Effect on the Runtime

This MDA has no effect on the runtime.

Output

A message describing the problem.

Configuration

<mdaConfig>
  <assistants>
    <notMarshalable/>
  </assistants>
</mdaConfig>

See also