I have a SSIS package that crashes randomly. It has data flow tasks using OLE-DB Source, OLEDB Destination, Sort Transform, Merge and Merge Join etc. to load csv files into a SQL Server database.
Most of the time the package runs fine, but occasionally it crashes because of Access Violation in DtsPipeline.dll when it is processing a large number of csv files. If I choose to end the process and re-run it, it will run just fine (or crash again after it has loaded a few thousand more files). This is happenng with SQL Server 008 R2 SP1 and SP2.
I attached Visual Studio debugger to the crashing process, this is what I got from the Call Stack window:
> DTSPipeline.dll!00000000541300aa() Unknown
TxSort.dll!0000000053c727d4() Unknown
TxSort.dll!0000000053c74245() Unknown
DTSPipeline.dll!0000000054197082() Unknown
DTSPipeline.dll!0000000054196757() Unknown
DTSPipeline.dll!0000000054199e64() Unknown
DTSPipeline.dll!0000000054199f77() Unknown
msvcr80.dll!00000000747037d7() Unknown
msvcr80.dll!0000000074703894() Unknown
kernel32.dll!0000000076aa652d() Unknown
ntdll.dll!000000007703c521() Unknown
So it looks like a problem with the Sort Transform component (TxSort.dll), but I don't know what the next step should be to fix the issue. Any advice?
A similar issue was reported in SQL 2005 as described at this URL: http://support.microsoft.com/kb/942087. Could there be a hoxfix that can do the samefor SQL Server 2008 R2?
Miracle - MCDP: ASP.NET Developer 3.5