Error seems like you are calling some DotNet function whose parameters are not completely passed. Can you please confirm on this?