{}

Our Brands

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

Welcome to the Schneider Electric Website

Welcome to our website.
Search FAQs
You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.
In-place Power Monitoring Expert (PME) upgrade - the database upgrade fails at the 'Verify Databases'

Issue
While performing an in-place upgrade to Power Monitoring Expert (PME), the installer can halt at the 'Verify Databases' step.
The database that fails to upgrade is the ION_Data database. This will halt the PME installer and the user is unable to click continue.

The following error may also be seen when attempting to upgrade the 'ION_Data' database via the database manager.

error message

Product
Power Monitoring Expert 8.x

Power Monitoring Expert 9.0

Power Monitoring Expert 2020

Power Monitoring Expert 2021

Power Monitoring Expert 2022

Power Monitoring Expert 2023

Environment
Power Monitoring Expert In-Place Upgrade

Cause
There is a more detailed message listed in the ION_Data_Upgrade.log file located in the ...\Power Monitoring Expert\Diagnostic folder.
This is the error message that is contained in those logs:

Msg 3729, Level 16, State 2, Server , line 48
Cannot TRUNCATE TABLE 'dbo.PQ_Events' because it is being referenced by object 'vPQ_Events'.

Resolution
*Warning: Irreparable database damage can occur. This procedure should only be performed by users familiar with SQL Server Management Studio. Databases should be backed up prior to performing this procedure.*

The error in the .log file indicates the presence of the vPQ_Events view which is preventing the truncation of the PQ_Events table and the subsequent upgrade steps.

Using SQL Server Management Studio, delete the vPQ_Events view from the ION_Data database and restart the installer:

  1. Log into SQL Server Management Studio with either a SQL or Windows account that has access to edit the ION_Data database

  2. Expand Databases and find ION_Data

  3. Expand ION_Data and find Views

  4. Expand Views and find vPQ_Events

  5. Right-click on vPQ_Events and select Delete

  6. Click OK in the step box that opens

  7. If the installer is still open click "try again".  If not, start the installer again.

Schneider Electric Vietnam

Explore more
Range:
Articles that might be helpful Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range: