SQL Upload issue using SSIS


I am using an SSIS package to upload some CSV data to my SQL table.

Here is the error:
SSIS Error

Attached is the table structure (I have numbered the columns so you can see which column 97 is).  See file "SQL-Table-Design.ODS".

Attached is the CSV file that contains the data that is failing: See file "CSV_data.csv".

The datatype of EVERY single field in the table is set to VARCHAR(MAX)  - I understand this is bad database design but I just wanted a 'catch all' structure.
Any help or advice is appreciated.

Many thanks

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Deepak ChauhanSQL Server DBACommented:
In your CSV file found some special character, I guess this will not be allowed with Varchar data type. your CSV may contain corrupted data Please check it. You can try to change the data type from Varchar to Nvarchar if you need to insert such data.  Also you can try import/export data wizard to upload CSV data where you can check the errors during column mapping, I know you have ssis package to upload data but Import / export wizard can show us the problem in csv and sql column mapping.

Eva Rapanová
Dorota Schüler
Jaakko Järvi
Dorota Schüler
Jari Pylväinen
Konsta Finnilä

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Deepak ChauhanSQL Server DBACommented:
Adding more in above.....

Also check flat file connection manager Column mapping in ssis package, you may need to change the column data type "DT_WSTR" for conversion. Below link give you idea.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.