Migration from windows to legacy

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

@amruthageorge58

Update the UiPath.excel.activities Package and put Runtime in Lowest applicable version
Delete System.Data.common Package from imports panel

Hi @amruthageorge58

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!!

@amruthageorge58

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
image

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.

image

Find and sort out the issue and try again.

Hope you understand!!

@amruthageorge58

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

i analyzed the process. But there were no errors found.

but i am still getting this error

@amruthageorge58

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.