CM Tool log has following error "SQL Server login failed for the current Windows user"
Issue
CM Tool fails and the log file shows "SQL Server login failed for the current Windows user"
Product Line
Power Monitoring Expert 7.2.2
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
CM Tool
SQL Server
SQL Server management Studios (SSMS)
Resolution
Follow the steps below
Step 1:
- Add the windows account used for the installation purpose in sys admin access.
USE master; GO EXEC sp_addsrvrolemember @loginame = 'DOMAIN\USER', @rolename = 'sysadmin'; GO - Run the CM Tool manually in command prompt administrator mode as same as previous method.
If the above step doesn't succeed, then proceed with step 2.
Step 2:
- Please ensure that step1 is completed so that the user account has sys admin access.
- Change the SQL\ION service to run on the logged in account.
- Right-click the windows button
- Select "Computer Management"
- When opened, select "Services and Applications"
- Select "Services"
- Navigate to the service named "SQL Server (ION)"
- In some cases, there may be a different name inside the parentheses.
- Right-click the service
- Select "Properties"
- Select the "Log On" tab
- Check the circular button labeled "This account"
- Enter the account information, Username (including domain) and password
- Select "OK"
- Acknowledge the message that will popup and adhere to its conditions
- Allow the current user the ability to log on to the server as a service.
- Right-click the Windows button
- Select "File Explorer"
- Select the file directory to navigate to the "control panel"
- Select "System and Security"
- Select "Administrative Tools"
- Select "Local Security Policy"
- Expand "Local Policies" by selecting the carrot symbol on the left of the icon
- Select "User Rights Assignment"
- Right-click "Log on as a service"
- Select "Properties"
- Select "Add User or Group..."
- type the current user information (both domain and username)
- Select "Check Names"
- Select "OK"
- Select "OK"
發佈於: 施耐德電機Taiwan
需要協助?
產品選型工具
快速輕鬆地為您的應用找到合適的產品和附件。
取得報價
立即線上提交您的銷售需求,專業團隊將主動聯繫您。
購買地點
輕鬆在您所在地區找到最近的施耐德電機經銷商。
支援中心
在同一位置找到滿足您所有需求的支援資源。