¿Cómo podemos ayudarle hoy?

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

Schneider Electric España

Explorar más
Rango:
Explorar más
Rango:

¿Necesitas ayuda?

¿Necesitas ayuda?

Selector de productos

Selector de productos

Encuentra rápida y fácilmente los productos y accesorios adecuados para tus aplicaciones.

Pedir presupuesto

Pedir presupuesto

Comienza tu consulta de ventas en línea y un experto se pondrá en contacto contigo.

¿Dónde comprar?

¿Dónde comprar?

Encuentra fácilmente el distribuidor de Schneider Electric más cercano a ti.

Centro de ayuda

Centro de ayuda

Encuentra recursos de soporte para todas tus necesidades en un solo lugar.

  • Documentación de productos
  • Descargas de software
  • Selector de productos
  • Reemplazo de productos
  • Centro de ayuda y contacto
  • Encuentra nuestras oficinas
  • Pedir presupuesto
  • Dónde comprar
  • Closure of shop.se.com/es/es/ and shop.se.com/pro/es/es/
  • Schneider Electric Community
  • Carreras
  • Perfil corporativo
  • Denunciar una mala conducta
  • Accesibilidad
  • Sala de prensa
  • Inversores
  • EcoStruxure
  • Búsqueda de empleo
  • Blog
  • Política de privacidad
  • Aviso de Cookies
  • Condiciones de uso
  • Cambiar tu configuración de cookies