Submit a ticketCall us

WebinarWebinar: A checklist for planning your Network Performance Monitor (NPM) upgrade

Are you ready for your next upgrade? To help you plan smoothly, join this webcast to learn more about, SolarWinds® Orion® Installer, SolarWinds Upgrade Advisor, Upgrades Guides, Training Videos, and other resources available. We’ll share key upgrade planning considerations, lessons learned from customers with practical advice from SolarWinds Product Experts. We’ll also give practical tips to identify the estimated time needed and resources, how to prepare the business and IT staff for changes, ways to plan for required system changes, and more.

Register now.

Home > Success Center > User Device Tracker (UDT) > UDT - Knowledgebase Articles > UDT upgrade error: Invalid column name 'IPAddressID'. Could not use view or function 'UDT_IPDNS' because of binding errors

UDT upgrade error: Invalid column name 'IPAddressID'. Could not use view or function 'UDT_IPDNS' because of binding errors

Created by Malik Haider, last modified by MindTouch on Jun 23, 2016

Views: 885 Votes: 0 Revisions: 4

Overview

This article provides steps to resolve the following error while upgrading UDT 3.x:

Invalid column name 'IPAddressID'. Could not use view or function 'UDT_IPDNS' because of binding errors

 

Environment

UDT version 3.0 or later 

Resolution

Warning: SolarWinds strongly recommends that you create a full backup of your database. The following command will create permanent changes to your database.

1.  Run the following command for Orion DB using SQL Studio:

IF  EXISTS (SELECT * FROM sys.views WHERE object_id = OBJECT_ID(N'[dbo].[UDT_IPAddress]'))
DROP VIEW [dbo].[UDT_IPAddress]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE VIEW [dbo].[UDT_IPAddress] 
AS
SELECT ip.EndpointID, ip.IPAddress, ip.RouterNodeID, ip.FirstSeen, NULL AS LastSeen, ip.RouterPortID, ip.ID, ip.IPAddressID
FROM [dbo].[UDT_IPAddressCurrent] ip with(nolock)
UNION ALL
SELECT ip.EndpointID, ip.IPAddress, ip.RouterNodeID, ip.FirstSeen, ip.LastSeen, ip.RouterPortID, ip.ID, ip.IPAddressID
FROM [dbo].[UDT_IPAddressHistory] ip with(nolock)
GO




IF  EXISTS (SELECT * FROM sys.views WHERE object_id = OBJECT_ID(N'[dbo].[UDT_DNSName]'))
DROP VIEW [dbo].[UDT_DNSName]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE VIEW [dbo].[UDT_DNSName] 
AS
SELECT dns.IPAddress, dns.DNSName, dns.FirstSeen, NULL AS LastSeen, dns.ID, dns.IPAddressID
FROM [dbo].[UDT_DNSNameCurrent] dns with(nolock)
UNION ALL
SELECT dns.IPAddress, dns.DNSName, dns.FirstSeen, dns.LastSeen, dns.ID, dns.IPAddressID
FROM [dbo].[UDT_DNSNameHistory] dns with(nolock)
GO

 

2. Re-run the configuration wizard.

 

 

 

 

 

 

Last modified

Tags

Classifications

Public