Troubleshooting Exceptions: System.Runtime.InteropServices.SafeArrayTypeMismatchException
The exception that is thrown when the type of the incoming SAFEARRAY does not match the type specified in the managed signature.
See Also
Tasks
How to: Use the Exception Assistant