Assign: Exception has been thrown by the target of an invocation : Need Help Urgently Please

I am trying to read the data from one datatable (DT1 in CSV) and iterate through rows using “For each row” activity, if the row.item(“Issue”) = “Wireless”, then it will read one more csv (Named as DT2: Also in CSV). and validate the results. If it finds failure, then, it will write on the DT1 under the column named “Wireless”.

When i try to use assign or write csv activity, i get “Assign: Exception has been thrown by the target of an invocation.”

Help please

Hi @vignesh_varad

Can u show the assign part fully

1 Like

Yes. This is the complete sequence i am trying

Hi Vignesh,
You can change the ReadOnly property of the column and then try to change the value for that column.
You can the change this property using Assign activity.
i.e. row.item(“Col Name”).ReadOnly = False
or you can directly do that at col level by
DataTableName.Columns(“Col Name”).ReadOnly = False

Try and let me know if that works for you