Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Issue in Script task

$
0
0

Hi,

I have two DFTs which runs in parallel. Both of them has a script task which takes the records and increments value of local variable and finally assigns to one package variable.

in First DFT I have i1 and 2nd DFT, I have i2.

1st DFT:

int cnt;

Cnt++;

i1=Cnt;

2nd DFT:

int cnt;

Cnt++;

i2=Cnt;

When both of them runs in parallel, its throwing following issue:

[Script Component [80]] Error: System.Runtime.InteropServices.COMException (0xC0010009): Exception from HRESULT: 0xC0010009
   at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.HandleUserException(Exception e)
   at Microsoft.SqlServer.Dts.Pipeline.ScriptComponentHost.PostExecute()
   at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostPostExecute(IDTSManagedComponentWrapper100 wrapper)

[SSIS.Pipeline] Error: Script Component failed the post-execute phase and returned error code 0xC0010009.

Any idea?


Porus


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>