Emil Gullbrandsson Posted February 23, 2021 Posted February 23, 2021 Hi support, We're experience the below error in the application event log on the PasswordState server when we're running a "Account Discovery" (Windows Local Admin Accounts Discovery): Quote Error executing 'ProcessAccountsDiscoveryJob' - An error has occurred in the Passwordstate Windows Service executing the method 'ProcessAccountsDiscoveryJob'. Error = Unexpected JSON token when reading DataTable. Expected StartArray, got StartObject. Path '', line 1, position 1.&stacktrace= at Newtonsoft.Json.Converters.DataTableConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at PasswordstateService.PasswordstateService.QueryHostForAccountDiscovery(String HostID, String HostName, String OperatingSystem, String Script, String PasswordListID, String InitialPassword, String ScriptID, String PasswordList, String EnablePasswordResetSchedule, String PasswordResetSchedule, String AddDaysToExpiryDate, String AccountTypeID, String ScriptName, String TreePath, String Title, String Description, Boolean SimulationMode, Int32 PrivilegedAccountID, Boolean PasswordResetEnabled, Boolean RequiresCheckOut, Boolean ChangeOnCheckin, String CheckInSchedule, Int32 ValidationScriptID, Int32 PasswordGeneratorID, Boolean GenRandomPassword, Boolean PerformResetPassword, String ReportAllActivities, Boolean HeartbeatEnabled) at PasswordstateService.PasswordstateService.ProcessAccountsDiscoveryJob(DataTable DataTable) Any suggestions?
support Posted February 23, 2021 Posted February 23, 2021 Hi Emil, We're not sure what this could be at this stage, we may have to get you to emails us screenshots of your discovery job to supportclickstudios.com.au so we can see how it is set up. If you run the discovery job manually, do you get the same error? To run a job manually, go to Administration -> Powershell Scripts -> Account Discoveries, and run the script from the Actions Menu: You can add one host per line when running a job manually, do you have many hosts you are querying in your discovery job? Regards, Support
Emil Gullbrandsson Posted February 24, 2021 Author Posted February 24, 2021 8 hours ago, support said: Hi Emil, We're not sure what this could be at this stage, we may have to get you to emails us screenshots of your discovery job to supportclickstudios.com.au so we can see how it is set up. If you run the discovery job manually, do you get the same error? To run a job manually, go to Administration -> Powershell Scripts -> Account Discoveries, and run the script from the Actions Menu: You can add one host per line when running a job manually, do you have many hosts you are querying in your discovery job? Regards, Support Hello, Sure, I'll send you a screenshot of the discovery job! I have been able to collect around 530 servers but now it just generates the error after running for about 18 minutes.. I have about 1000 hosts I'm querying.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now