Troubleshooting Exceptions: System.ArrayTypeMismatchException
An ArrayTypeMismatchException exception is thrown when the system cannot convert the element to the type declared for the array.
Make sure the object type is convertible to the array type.
A conversion must be possible between the two types.For more information, Visual Basic users can see Arrays in Visual Basic.