When I try to export all my current registered agents from the Agents View to a .csv file, I get the error "Error exporting agents to csv. Refer to the log file for error details.
Need to know why this is happening and where is the log file that is referenced.
In the log files on the Symantec Application Server Service.
%ProgramData%\Symantec.CSM\Logs\AppServer\AppServer.Service.<datetime>.<pid>.<logfile#>.csv
You will see an entry like this.
2022-06-14 14:40:08.347,2022-06-14 10:40:08.347,<hostname>,Warning,DispatchProtocol.Common,AppserverService,6536,,180,HandleError,,0,0,"FaultErrorHandler - Fault: System.ServiceModel.Dispatcher.NetDispatcherFaultException: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://example.org/:objIn. The InnerException message was 'There was an error deserializing the object of type Symantec.DispatchProtocol.Common.DispatchObjectData. The maximum array length quota (92160) has been exceeded while reading XML data. This quota may be increased by changing the MaxArrayLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader.'. Please see InnerException for more details. ---> System.Runtime.Serialization.SerializationException: There was an error deserializing the object of type Symantec.DispatchProtocol.Common.DispatchObjectData. The maximum array length quota (92160) has been exceeded while reading XML data. This quota may be increased by changing the MaxArrayLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. ---> System.Xml.XmlException: The maximum array length quota (92160) has been exceeded while reading XML data. This quota may be increased by changing the MaxArrayLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader.
One or more Agents have a lot of data in their properties, overflowing the maxArrayLength for the XML Reader.
To resolve this issue follow the steps below.
Now when you try to export the Agents to a CSV from the CCS Console the export will be successful.