Submit a ticketCall us

Don’t fall victim to a ransomware attack
Backups are helpful, but sometimes that’s not enough to protect your business against ransomware. At our live webcast we will discuss how to protect against ransomware attacks with SolarWinds® Patch Manager and how to leverage log data to detect ransomware. Register now for our live webcast.

Home > Success Center > Network Performance Monitor (NPM) > Orion web error: Object cannot be cast from DBNull to other types

Orion web error: Object cannot be cast from DBNull to other types

Created by Norsolihati Selamat, last modified by Aileen de Lara_ret on Jul 19, 2016

Views: 78 Votes: 0 Revisions: 2

Updated July 19, 2016

Overview

This article provides brief information and a resolution to the following error when clicking Groups in the Orion web:

Object cannot be cast from DBNull to other types

 

Message
ErrorSite: mscorlib.DBNull.System.IConvertible.ToInt32
ErrorType: System.InvalidCastException

Orion.Informationservice.log will show:
Parameter name: key
at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
at SolarWinds.Data.Providers.Orion.Containers.AvailabilityService.ContainerMembersCollection.Add(ContainerMember item)
at SolarWinds.Data.Providers.Orion.Containers.AvailabilityService.DAL.ContainerMembersDAL.GetMembers(Container container)
at SolarWinds.Data.Providers.Orion.Containers.AvailabilityService.AvailabilityService.RefreshStatus(Container container)
at SolarWinds.Data.Providers.Orion.Containers.AvailabilityService.AvailabilityService.RefreshStatus(Object container)
at SolarWinds.Data.Providers.Orion.Containers.ScheduledTask.DoWork()
at SolarWinds.Data.Providers.Orion.Containers.ScheduledTask.RunTask()
[STP SmartThreadPool Thread #265] ERROR SolarWinds.Data.Providers.Orion.Containers.ScheduledTask - ContainerStatusRefresh-17 threw an exception.
System.ArgumentNullException: Value cannot be null

ERROR SolarWinds.Orion.Web.Services.ResourcePickerWebServices - Unexpected error ocured during prebuilding resources cache.
System.Net.WebException: The remote name could not be resolved: 'sccorion.secse.local'
at System.Net.HttpWebRequest.GetResponse()

 

Environment

NPM version 10.7

 

Resolution

Upgrade to NPM 11.5 and later.

 

 

 

Last modified
22:16, 18 Jul 2016

Tags

Classifications

Public