error one hs two meanings, depending on the context. in this case it is likely that the meaning is "invalid input parameter". have you connected all of the inputs?, and have you opened the connection first?. also, make sure you close the connection once you are done withit. Otherwise, you may have problems with a port still being inuse.
Hope this helps,
Matt