I am getting this below error while to debug the flow
Error ERROR Validation Error BC31424: Type ‘System.Data.DataRow’ in assembly ‘a90ef2e5-aedc-4fda-9b6f-a490514b9463, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’ has been forwarded to assembly ‘System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. Either a reference to ‘System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ is missing from your project or the type ‘System.Data.DataRow’ is missing from assembly ‘System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. Framework/SetTransactionStatus.xaml
Please help me with the above issue I am using UiPath Studio version 2025.0.167 STS
@Raghuveer_M,
Try adding System.Data.Common as reference to your workflow file.
Hi @Raghuveer_M
Open UiPath project > Go to Imports panel
Add System.Data and System.Data.Common
Happy Automation
Have added both in the imported namespaces but still getting error. Please help.
Hi @Raghuveer_M
Could you please run project validation from under workflow analyzer option under design menu tab? UiPath will automatically try to fix dependency issues.
And then close and reopen the project and run the validation again and observe.
If error still persists, delete the datatable variable and recreate it.
I am still getting the error even after running the Project Validation under workflow analyzer. I cannot delete the datatable variable as I have to use in the project.
Thank you Sir for the response. I will share my project for your reference.
Calculate_ClientSecurityHash.zip (975.2 KB)
Argument 'Value': BC31424: Type 'System.Data.DataRow' in assembly '94fcf960-d388-40bb-a8c7-c69995b0eccd, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' has been forwarded to assembly 'System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Either a reference to 'System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is missing from your project or the type 'System.Data.DataRow' is missing from assembly 'System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
The error you’re seeing—BC31424—is related to type forwarding in .NET. It means that the type System.Data.DataRow has been moved from one assembly to another, and your project is either missing a reference to the new assembly or the type isn’t available where it’s expected.
I observed that your issue occurred in the Framework/SetTransactionStatus.xaml file after uncommenting the Assign activity for
QueueRetry (System.Boolean) which is tried to be assigned to in_TransactionItem isNot Nothing AndAlso (in_TransactionItem.GetType is GetType(UiPath.Core.QueueItem))
Approach #1
Try to delete the impacted Assign activity in the Framework/SetTransactionStatus.xaml for System Exception sequence.
Recreate from scratch a new Assign activity for QueueRetry with value
in_TransactionItem isNot Nothing AndAlso (in_TransactionItem.GetType is GetType(UiPath.Core.QueueItem))
→ disable activity → retry to Debug.
Approach #2
Try to access Framework/SetTransactionStatus.xaml → uncommend the impacted Assign activity for QueueRetry → access Data Manager → Namespaces → add System.Data and System.Data.Common → retry to Debug
After this, the Debug can be started:
Let me know if this helped.