How about

Code:
command.Parameters.AddWithValue("@TempFilesLog", TestData.TempFileLog.ToString.Substring(0,100))
How long is the TempFileLog string??