Check that the paramater value is a DbParameter #292