Import security settings to a new RtReports server
- Last UpdatedJan 24, 2023
- 1 minute read
- PI System
- RtReports 5.0
- Visualization
You must have exported the old security database settings to a security.xml file and installed a new version of RtReports.
Import the security settings from the old RtReports server stored in the security.xml file to the new RtReports server. You can do this task from a command prompt or the Admin menu in RtReports editor.
-
From a command prompt:
-
Navigate to the folder containing the RtReports executables at %PIHOME%\RtReports\bin.
-
Type the command:
OSISoft.RtReports.SecuritySettings.exe "\%OSI\RtReports" "PIServer" "C:\security.xml" "C:\results.xml"
where PIServer is the name of your PI Server.
This imports the security.xml data, applies the same privileges to the new RtReports server, and exports results to results.xml.
-
Apply the changes and restart IIS by entering the command: IISRESET.
-
-
From the RtReports editor:
-
Sign in to the RtReports editor using an administrator account.
-
Click Admin > Import Security File, then OK to open the file selection window.
-
Select the XML file to import and click Open.
After the file imports, a message window opens prompting you to restart the editor to refresh the settings.
-
Click OK and restart RtReports editor.
-