Invalid Handle

Possible Cause Resolution
You passed an invalid .NET object handle to the DotNet API function. Object handles can be acquired by a call to DotNetLoadObject or they can be received with DotNetGetObject if the last called method returns an object.