The connection cannot be used to perform this operation. It is either closed or invalid in this context

perchè mi dà quest'errore?