How to correctly execute CM Tool script known as ManualDBInstall_Script3-CreateMap_Logins.sql
Issue
This procedure, if not executed correctly, may be the source of many login, encryption, and/or installation errors experienced by Power Monitoring Experts users
Product Line
Power Monitoring Expert 8.2
Power Monitoring Expert 9.0
Power Monitoring Expert 2020
Power Monitoring Expert 2021
Power Monitoring Expert 2022
Power Monitoring Expert 2023
Power Monitoring Expert 2024
Environment
SQL
SSMS
Database Connection String (PME SQL Server Address and Instance names)
PowerShell (x86)
Cause
Database access via PME is centralized and encrypted
Resolution
The steps below will display the correct process when working with a PME system in which users have selected the option to Use SQL Server Authentication during their initial installation of the Power Monitoring Expert software
- Remote desktop to the PME Server.
- This process will only work on the PME server itself.
- Launch the 32 bit version of PowerShell "Windows PowerShell (x86)" as an administrator.
- At the PowerShell prompt, enter the following and press enter:
$pi = new-object -com ProductInfo.ProductInfo- If you see an error message, the most likely cause is that you have accidentally run the 'normal' (64) bit version of PowerShell. Be sure that the title bar on the window says "PowerShell (x86)". Otherwise it should appear as if nothing happened.
- If it appears that nothing happened in the PowerShell prompt, type the following and press enter:
$pi.IONConnectionString - Copy the password.
An example of the above process is shown below:
The password copied/recorded from the above steps will be used in the following steps: - Open the file named ManualDBInstall_Script3-CreateMap_Logins.sql using SSMS
- ensure that the SSMS application connects to the SQL Instance in which PME has been installed
- ensure that the account used to login to the SQL instance via SSMS has "sysadmin" to the instance
- The file can be found in the file directory of the Configuration Manager Tool > i.e. "Configuration Manager PME Version\bin\Scripts\Migration"
- Uncomment lines 4 and 5 of the script
- Add the password copied from the above instruction to line 16 of the script
- Execute the script
- The proper output of the script should look similar or equal to the following example
The number of orphaned users fixed by updating users was 0.
The number of orphaned users fixed by adding new logins and then updating users was 0.
The number of orphaned users fixed by updating users was 0.
The number of orphaned users fixed by adding new logins and then updating users was 0. 게시 대상: 슈나이더 일렉트릭 Korea


도움이 필요하신가요?
제품 선택기
애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.
견적 받기
영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.
구매처
해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.
지원 센터
한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.