Hi,
Need help to fix the following error:
Main.xaml: BC31424: Type ‘System.Data.DataTable’ in assembly ‘e08d9505-dd4c-43df-854a-6e6525b01f65, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’ has been forwarded to assembly ‘System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. Either a reference to ‘System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ is missing from your project or the type ‘System.Data.DataTable’ is missing from assembly ‘System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’.
Hi @Sim_rpa
Could you please check whether System.Data.Datatable or any similar dependencies are available in the Imports panel?
Best Regards.
Hi @Sim_rpa
To resolve this error you can try doing the below steps:
- Check project references.
- Update packages.
- Clean and rebuild that particular actvitiy.
- Check compatibility.
- Verify installation.
Hope it helps!!
Regards,
Hi @Sim_rpa
- Check the references in your project:
- Open your project in UiPath Studio.
- Go to the Project panel on the left-hand side.
- Expand the Dependencies section and check if there are any references to System.Data.Common or System.Data.DataTable.
- Remove and re-add the references:
- Right-click on the references related to System.Data.Common and System.Data.DataTable.
- Select Remove to remove the references.
- Right-click on the Dependencies section and select Manage Packages.
- In the Package Manager, search for System.Data.Common and System.Data.DataTable.
- Install the appropriate packages that match your project’s requirements.
- Clean and rebuild your project:
- Go to the Build menu and select Clean Solution.
- Once the solution is cleaned, go to the Build menu again and select Rebuild Solution.
- Restart UiPath Studio:
- Close UiPath Studio completely and reopen it.
I hope it helps!!
Hi @Sim_rpa
Were you able to fix the issue? ![]()
