我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
PME 2021 - after upgrade, the windows tasks for db maintenance/backup no longer run - login error

Product Line
Power Monitoring Expert 2021
_____________________________________________________________
Environment
The issue has been introduced in PME2021 and seems to affect only in-place upgrades of standalone systems.
_____________________________________________________________
Issue
PME 2021 - after the upgrade, the windows tasks for db maintenance/backup no longer run - login error

In the Task Scheduler UI will see 0x1F4 under Last Run Result

You will see an information event in the Windows Application log saying:
Login failed for user 'STANDALONE\IONMaintenance'. Reason: Could not find a login matching the name provided. [CLIENT: <local machine>]



WARNING: If this problem is not noticed, there could be data loss since no database backups will be created. During upgrades, makes sure the Maintenance task successfully run

_____________________________________________________________
Steps to Reproduce the Issue /Investigation/ (Optional)

  1. Start with a PME 2020 system.
  2. Verify that you can run the windows tasks for db maintenance and backup. If you are using a Test Auto VM, you will have to enable them
  3. Upgrade to PME 2021
  4. Try to run the windows tasks - any of them


_____________________________________________________________
Root Cause
When PME installer (Database.Core.broker.xml) tries to create IOMaintenance login, it will execute a set of actions:
1. it will create STANDALONE\IONMaintenance sql server login (login type - windows)
2. it will create STANDALONE\IONMaintenance user in the respective DBs
3. it will configure the user (DEFAULT_SCHEMA=dbo and alter roles (db_backupoperator, db_ddladmin & Maintenance)

For the fresh system: There is no issues when we set the configuration.
For the UPG system: #1 & #2 will not be executed as it is already there but #3 will be executed and that causes the login into an invalid state where the user will not be able to log in. So, to resolve the issue, we must recreate the login.


_____________________________________________________________
Proposed Solution

The workaround is doing the same thing as it is mentioned above. If IONMaintenance sql server login is not working, please follow the instruction below.

    If IONMaintenance sql server login is not working, please follow the instruction below.

    1. Delete the STANDALONE\IONMaintenance from (server)>Security>Logins
    2. Select “Create new Login” from (server)>Security>Logins context menu. Specify the Login Name as STANDALONE\IONMaintenance

    a

    1. Configure the Server Role page as per the following screen shot

    b

    1. Configure ApplicationModules as per the screen shot.

    c

    1. Configure ION_Data as per the screen shot.

    d

    1. Configure ION_Network as per the screen shot.

    e

    1. Configure ION_SystemLog as per the screen shot.

    f

    1. Configure Securables as per the screen shot.

    g j dd

    _____________________________________________________________
    Attachments/Links

    1. PME 2021 - after the upgrade, the windows tasks for db maintenance tasks no longer run.pdf

    _____________________________________________________________

    施耐德電機Taiwan

    需要協助?

    • 產品選型工具

      快速輕鬆地為您的應用找到合適的產品和附件。

    • 取得報價

      立即線上提交您的銷售需求,專業團隊將主動聯繫您。

    • 購買地點

      輕鬆在您所在地區找到最近的施耐德電機經銷商。

    • 支援中心

      在同一位置找到滿足您所有需求的支援資源。

    • 產品文檔
    • 軟體下載
    • 產品選型工具
    • 產品替代和替換
    • 幫助和聯絡中心
    • 尋找我們的辦公室
    • 取得報價
    • 人才招募
    • 公司簡介
    • 舉報不當行為
    • 無障礙
    • 新聞中心
    • 投資者
    • 專業洞察
    • 台灣施耐德電機學院
    • 綠色影響力落差調查
    • Schneider Go Green 2025
    • 隱私政策
    • Cookie通告
    • 使用條款
    • Change your cookie settings