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 > Enterprise Operations Console (EOC) > DBNull errors in EOC

DBNull errors in EOC

Created by Robert Stidman, last modified by MindTouch on Jun 23, 2016

Views: 8 Votes: 1 Revisions: 3

Overview

This article provides brief information and steps to resolve the following EOC Web Console error:

Object cannot be cast from DBNull to other types.
Details
at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ToInt32(Object value)
at SolarWinds.EOC.Web.Resources.GenericMapper.Map(Property property, Object value, String thresholdName, IEnumerable`1 _thresholdsList, DataRow row, IEnumerable`1 childValues)
at SolarWinds.EOC.Web.Resources.OrionTableControl.FillData()
at SolarWinds.EOC.Web.Resources.OrionTableControl.Initialize(Boolean renderPanelOnly)

Environment

 

 

EOC version 2.x and earlier

Cause 

The error is caused when the web config file was configured incorrectly.

Resolution

 

1. Locate and go to the web.config file.  By default, it is located in C:\Program Files (x86)\SolarWinds\EOC\Website\web.config

2. Create a copy of the web.config file and save it to your desktop.   

3. Open the file in a text editor. 

4.  Find the following key:

OrionInformationServicev2 

5. Replace the value to net.tcp://{0}:17777/SolarWinds/InformationService/Orion/ssl.

6. Refresh the page and add the server again.

 

 

 

Last modified
19:23, 22 Jun 2016

Tags

Classifications

Public