encoding - SSIS Truncation error (Tried dataconversion, changing output columns but nothing works) -
example of offending row
row 1 "this line of data" "user entered line of data in same row" row 2
i'm unable find solution error on google: "text truncated or 1 or more characters had no match in target code page."
this happens on 1 field has comments. offending excel row/column has text entered in 2 lines i.e entered data , pressed "enter" , wrote new line in same row.
im using excel file source in ssis , oledb destination (sql server) 1 column keeps erroring out , have tried following:
1) change output column width in advanced editor (still errors)
2) data conversion tool between source , destination (still errors)
any appreciated, thank you.
i solved issue moving row top of excel file , created new connection.
to avoid having move row in file, typeguessrows registry value should 0.
the registry value typeguessrows default set 8. means excel checks 8 rows decide maximum length of column.
if have maxim length in other row instead of first 8 rows , error.
to overcome issue need set typeguessrows=0 in registry ,which reads columns of excel , decides maximum column length of column.
thanks
Comments
Post a Comment