When I try setting the ActiveConnection property of my Command object to a
valid and open Connection object I get ADO error 3001 telling me that: The
application is using arguments that are of the wrong type, are out of
acceptable range, or are in conflict with one another. I initially thought
this might be due to my CommandType setting so I changed it to unknown, but
this didn't help. Any ideas?