我們的品牌

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

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
ENM8.2 installer fails on step "Backing up previous historical data" with error "data backup failed"

Issue:

When upgrading from an earlier version of Event Notification Module (ENM) to ENM 8.3.3, the installer fails at the step:

Backing up previous historical data

with the error:

data backup failed

Installer logs show:

 
SQL Server blocked access to procedure 'sys.xp_cmdshell' of component 'xp_cmdshell' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'xp_cmdshell' by using sp_configure. For more information about enabling 'xp_cmdshell', see "Surface Area Configuration" in SQL Server Books Online.
 



Image
Product Line:

Power Monitoring Expert 7.2

Power Monitoring Expert 8.x

Power Monitoring Expert 9.x

Power Monitoring Expert 2020

Power Monitoring Expert 2021

Power Monitoring Expert 2022

Power Monitoring Expert 2023

Power Monitoring Expert 2024

Event Notification Module (ENM)

Environment:

ENM

SQL

Cause:

The SQL Server feature xp_cmdshell is disabled by default for security reasons. The ENM installer uses xp_cmdshell During the backup process, causing the failure when it is turned off.

Resolution:

Enable xp_cmdshell temporarily, rerun the installer, and then disable it again for security.

Steps to Enable xp_cmdshell

  1. Management Studio** with sysadmin privileges.
  2. Open a New Query window and run:

    -- Show advanced options
    EXEC sp_configure 'show advanced options', 1;
    GO
    RECONFIGURE;
    GO
    -- Enable xp_cmdshell
    EXEC sp_configure 'xp_cmdshell', 1;
    GO
    RECONFIGURE;
    GO
    -- Hide advanced options
    EXEC sp_configure 'show advanced options', 0;
    GO
    RECONFIGURE;
    GO
  3. Close SQL Server Management Studio.
  4. Rerun the ENM installer.

Disable xp_cmdshell After Upgrade

For security best practice, disable xp_cmdshell After the upgrade completes:

-- Show advanced options
EXEC sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO

-- Disable xp_cmdshell
EXEC sp_configure 'xp_cmdshell', 0;
GO
RECONFIGURE;
GO

-- Hide advanced options
EXEC sp_configure 'show advanced options', 0;
GO
RECONFIGURE;
GO


The following link will provide more information regarding ENM: FAQs

Recommendation:

If you are using an older version of PME, consider upgrading to the latest version for improved protocol support and security. For assistance with integration or upgrades, contact Schneider Electric Technical Support at: pmo-psup@se.com

Support details

施耐德電機Taiwan

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