Network Management
Unable to cast object of type 'System.Byte[]' to type 'System.String'
Adding active directory group failed Unable to cast object of type System.Byte to type System.String
First published date
Last published date
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'.