Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Network Performance Monitor (NPM) > Error while executing script- Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression

Error while executing script- Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression

Updated March 13, 2017

Overview

While doing an NPM upgrade, you may see below error message:

Error while executing script- Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.

Applying Core platform HF4 does not help.

Environment

NPM 12 upgrade, fixed in next release

Cause 

There are duplicate entries in the views table.

Specifically ViewKey field in Views Table

Resolution

DELETE FROM Views WHERE ViewID = "of duplicate view"

 

If delete is not possible, you can just update or rename the Duplicate ViewKey

 

To determine the duplicate ViewKey

 

Run below query

SELECT viewkey, COUNT(ViewKey) from Views where ViewKey is not null group by ViewKey

Column1 should only have 1

 

Then you need to update the duplicate ViewKey

 

Click Enable table editing

Rename the ViewKey that has duplicate

E.G Virutalization Summary > Backup Virtualization Summary

 

Re-run the Configuration Wizard

 

 

 

Last modified
01:53, 19 May 2017

Tags

Classifications

Public