Its seems that the set connection on SqlCommand attend a SqlConnection and that a IDbConnection wa passed which cause the cast exception. You should check your provider..

Reply via email to