i converted an old process that was in legacy to windows. The process got converted but the code is not compiling. i am getting an error like the above image. How can i resolve this issue
Update the UiPath.excel.activities Package and put Runtime in Lowest applicable version
Delete System.Data.common Package from imports panel
Update all the Packages to the latest version, select the Lowest applicable version in the Runtime rule option in the Manage packages.
Check the below image for better understanding,
Hope it helps!!
i updated the version of excel and system activites and also changed the runtime to lowest applicable version. but still im facing the same error
system.data.common package is not there in the imports panel
after you are getting same error or different error… @amruthageorge58
I suggested to update every package in the Project and Change the Runtime Rule.
If you are getting a different error send us the screenshot.
@amruthageorge58
Then import that namespace System.Data.common
receiving the same error
Can you share the screenshot of the error again… @amruthageorge58
now the error is like this
You made a wrong in your code… @amruthageorge58
First analyze the file by selecting the Analyze Project in the Analyze File in the Design ribbon. Then check each piece of code any activity or expression have error. While migrating from legacy to windows, these errors will raise if any wrong in the expression or Variable initialization in the code.
Find and sort out the issue and try again.
Hope you understand!!
Please check your Project Undeclared variables and their scopes.Check varaiables are declared properly
Check thebpackage versions are compatable to the windows
Restart the UiPath studio
Check the Vb expressions
Remove UiPath.Database.Activities package and then Download the package from Manage packages
Check if there is any variable name called init or xaml or any block.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.