I have a Zip File which contains .CSV files .Each .CSV will be mapped to respective Sql Server Table.
I have enabled transaction option required once the files are unzipped .If any thing goes wrong entire zip contents should be rolled back.
Following are the steps which are followed in building ssis Packagae
- Unzip the file
- Seq container Transaction Option set =required Isolation level :Serializable
- Delete data in tbl1,tb12,tb13 2.1 Iterate through csv files which has tb2.csv ,tbl2.csv,tbl3.csv
- DFT - Based on table name csv willto tb1,tb2.tb3 of sql server (OLEDB dest)
Note: In Oledb destination
1.Table/view Fast load option is set
2.Identity are checked in
3.Table Lock is not checked
I am getting below error : Hresult: 0x80004005 Description: "This operation conflicts with another pending operation on this transaction. The operation failed.".
Please suggest a way to overcome this error.