How to Use the Aras Migration Analyzer
Copy
Setting Up the Database
Perform the following steps for each Aras Innovator database you want to analyze.
- Unzip the Aras Migration Analyzer package. You can do this on the server or a client machine.
- Open the Nash utility page for your Innovator installation in a web browser: http://{server}/{webalias}/Client/scripts/Nash.aspx
- Enter credentials for an administrative user like admin or root and click Login.
- In the Aras Migration Analyzer package, open InnovatorSideUtility/AMA_UtilityMethod.xml.
- Copy the contents of AMA_UtilityMethod.xml and paste into the XML field in the Nash form.
- Click Submit to add the method to the Aras Innovator database you want to analyze.
Nash.aspx
Setting Up the Code Tree
Perform the following steps for each Aras Innovator installation you want to analyze.
- Open the InnovatorServerConfig.xml file in the installation directory of your Aras Innovator instance.
- Add the following line to the file if it does not exist. If the DebugServerMethod operating parameter does exist, make sure it is set to “true”.
- Save the InnovatorServerConfig.xml file.
<operating_parameter key="DebugServerMethod” value="true” />
- In the Aras Migration Analyzer package, find MigrationAnalyzer.WpfUI.exe and run it to start the Aras Migration Analyzer.
- Enter the url of your Aras Innovator instance and click Login.
- When the Aras Innovator login page appears, choose the database you want to analyze and enter credentials for an administrative user like admin or root. Click Login.
- Next, the tool will present the main page for running the method code analysis.
- Home: Return to the initial login page.
- Refresh: Reload the method list from the Aras Innovator database.
- Select All: Select every method in the list.
- Deselect All: Deselect every method in the list.
- Expand All: Expand all categories and packages to see every method in the list.
- Collapse All: Collapse all categories to hide all packages and methods in the list.
- .Net Version: Choose the .Net version (.NET 6 or .NET Core 3.1) to check the server methods for compatibility analysis.
- Analyze: Run the .NET Core migration analysis on the selected methods.
- Method List: This pane contains a list of server methods in the Aras Innovator database, organized by package. Packages are grouped into three categories:
- Custom Methods: Contains all packages that are not core Aras Innovator packages. This includes Aras applications and custom packages.
- Aras Innovator Default Methods: Contains core Aras Innovator packages. This category is deselected by default because Aras migrated all core code to .NET Core when subscribers upgraded to Release 15.
- Not in Package: Contains methods that don’t belong to a package definition.
- Detail Pane: Presents detailed analysis information about the selected method.
- Status Bar: Displays the progress of the analysis. When the analysis is complete, the status bar indicates how many methods are compatible with .NET Core, incompatible, or have compilation errors.
- Export to PDF: Allows the user to save the analysis results to a PDF file for review and sharing.
- Select the methods you want to analyze from the method list and click the Analyze button.
- Wait until the status bar indicates that the analysis is complete. Now you’re ready to review the results.
Aras Migration Analyzer login page
Aras Innovator login page
Main page for choosing methods to analyze
Status bar after analyzing 8 methods
There are two ways to review the results of the method analysis – inside the migration analyzer tool itself, or in an exported PDF.
Reviewing Results in the Migration Analyzer
Completed method analysis in the Migration Analyzer UI Once the analysis is complete, the righthand column of the method list will indicate one of the following results for each of the selected methods.
- Compatible: The code in this method is compatible with .NET Core and doesn’t require updates.
- Incompatible: One or more .NET Framework APIs used in this method does not port to .NET Core. This code will need to be updated before it will work in Aras Innovator 15+. Click the method in the list and review the details pane to learn which specific APIs will need to be replaced.
- Error: There was a compilation error during the analysis. Click the method in the list and review the details pane for more information about the error.
For more information about migrating .NET Framework code to .NET Core, visit Microsoft’s migration guide: https://docs.microsoft.com/en-us/dotnet/core/porting/
Reviewing Results in a PDF
Completed analysis saved to PDF Once the analysis is complete, you have the option to save the results to a PDF file. The file contains all the same information as the Migration Analyzer UI, but in an easily shared format. The PDF shows a result and details (where necessary) for each analyzed method.