Submit a ticketCall us

Bridging the ITSM Divide
Integrated help desk and remote support software for faster resolution

Join us on Wednesday, November 29, 2017 at 11 a.m. CT, as we discuss the benefits of effectively integrating your help desk software with remote support solutions to help increase the efficiency of IT administration, improve communication, and decrease mean time to resolution (MTTR) for IT issues of all sizes. This directly impacts end-user satisfaction and your business’ bottom line. Register Now.

Home > Success Center > Network Performance Monitor (NPM) > Unable to cast object of type 'System.Byte[]' to type 'System.String'

Unable to cast object of type 'System.Byte[]' to type 'System.String'

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

Views: 235 Votes: 0 Revisions: 4

Overview

The following error message appears when trying to add an AD group in Orion:

Unable to cast object of type 'System.Byte[]' to type 'System.String'

 

The logs show the following error:

2014-05-08 11:48:19,449 [8] WARN  SolarWinds.Orion.Web.AuthorizationManager - Get All AD Groups of xxxxxx in LDAP://WRIT. System.Runtime.InteropServices.COMException (0x8000500C): Unknown error (0x8000500c)

   at System.DirectoryServices.PropertyValueCollection.PopulateList()

   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)

   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)

   at SolarWinds.Orion.Web.AuthorizationManager.WindowsAuthorizationManager.GetActiveDirectoryGroups(String identName, String domainName, Boolean& faulted)

2014-05-08 11:48:58,996 [5] ERROR SolarWinds.Orion.Web.AccountSearchHelper - Error occurred performing LDAP search in AccountSearchHelper. Exception: System.InvalidCastException: Unable to cast object of type 'System.Byte[]' to type 'System.String'.

   at SolarWinds.Orion.Web.AccountInfo..ctor(SearchResult searchResult)

   at SolarWinds.Orion.Web.AccountSearchHelper.SearchUsingLDAP(String patternToSearch, String domain, String sortDirection, Boolean isGroupSearch)

2014-05-08 11:48:58,996 [5] ERROR SolarWinds.Orion.Web.AccountSearchHelper - Error occurred performing search in AccountSearchHelper. Exception: Unable to cast object of type 'System.Byte[]' to type 'System.String'.

2014-05-08 11:48:58,996 [5] ERROR AccountManagement - Could not find account details on the specified domain.  Details: Unable to cast object of type 'System.Byte[]' to type 'System.String'.

Environment

NPM 10.7 and earlier

Cause 

There is a known Windows behavior that changed recently and this change also effected SolarWinds.

Resolution

 Kindly upgrade Orion to its latest version.

 

Last modified

Tags

Classifications

Public