The CLR marshaler encountered an error while attempting to associate a SafeHandle with an unmanaged resource. This may cause ...