Submit a ticketCall us

Solarwinds & Cisco Live! Barcelona
Join us from the 29th of January to the 2nd of February at Cisco Live 2018 in Barcelona, where we will continue to show how monitoring the network with SolarWinds will keep you ahead of the game. At our booth (WEP 1A), we will demonstrate how SolarWinds network solutions can help. As a bonus, we are also hosting a pre-event webinar - Blame the Network, Hybrid IT Edition with our SolarWinds Head Geek™, Patrick Hubbard on January 24th - GMT (UTC+0): 10:00 a.m. to 11:00 a.m. There's still time to RSVP.

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

Tags

Classifications

Public