Assign Error Message!

Hi all,

i’m getting this error message in assign “Assign: Exception has been thrown by the target of an invocation.” Why am i getting this error or what should i change in the code or where?
What is the solution?
NOT This is in the for each Row in Data Table Activty
My Code in assign

CurrentRow("Fiyat") = ListA(dt1.Rows.IndexOf(CurrentRow)).ToString

ListAs Code is

ListA = (From p In dta.Select()
Group p By Semt = p.Item("Semt").ToString Into GroupA = Group
Select Convert.ToString(GroupA.Sum(Function(x) Convert.ToDouble(x.Item("Fiyat").ToString)))).ToList()




Hey @yigit.aybey

Does the ListA has some data before it reaches to Assign ?


Yes. Before loop it has got some integer datas. If you want to see, i can share.

Hi @yigit.aybey

What is the underlying exception?

Can you share the complete screenshot of the error

You want to see details of error message?