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 > User Device Tracker (UDT) > 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: 847 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