Without seeing your code, it is difficult to be sure, but the error message is quite explicit.
You have a field in your database that you have declared as VARBINARY(MAX) which you are trying to insert a value to.
Either, you are trying to do this by concatenating strings to form an SQL statement:
string sql = "INSERT INTO myTable (myColumn) VALUES ('" + myDataForColumn + "')";
Which is a very, very bad idea as it leaves your database open to SQL Injection attack, or you are doing it via a parametrized query but setting the wrong parameter type, or passing a string to SqlCommand.Parameters.AddWithValue instead of an array of bytes.