Exception Error when Pulling a Custom Report

book

Article ID: 191780

calendar_today

Updated On:

Products

CA Network Flow Analysis (NetQos / NFA)

Issue/Introduction

Exception Error when trying to open a Custom report.

Exception of type 'System.OutOfMemoryException' was thrown.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

 

[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]

   System.Xml.XmlDocument.CreateElement(String prefix, String localName, String namespaceURI) +19

   Microsoft.Web.Services3.Mime.XopDocument.CreateElement(String prefix, String localName, String namespaceURI) +21

   System.Xml.DocumentXmlWriter.WriteStartElement(String prefix, String localName, String ns) +39

   System.Xml.XmlWellFormedWriter.WriteStartElement(String prefix, String localName, String ns) +540

   Microsoft.Web.Services3.Xml.XmlWrappingWriter.WriteStartElement(String prefix, String localName, String ns) +22

   Microsoft.Web.Services3.Xml.XmlWrappingWriter.WriteStartElement(String prefix, String localName, String ns) +22

   System.Data.DataTextWriter.WriteStartElement(String prefix, String localName, String ns) +19

   System.Data.DataTextWriter.WriteStartElement(String prefix, String localName, String ns) +19

   System.Data.XmlDataTreeWriter.XmlDataRowWriter(DataRow row, String encodedTableName) +2092

   System.Data.XmlDataTreeWriter.SaveDiffgramData(XmlWriter xw, Hashtable rowsOrder) +551

   System.Data.NewDiffgramGen.Save(XmlWriter xmlw, DataTable table) +212

   System.Data.DataSet.WriteXml(XmlWriter writer, XmlWriteMode mode) +97

   System.Data.DataSet.System.Xml.Serialization.IXmlSerializable.WriteXml(XmlWriter writer) +30

   System.Xml.Serialization.XmlSerializationWriter.WriteSerializable(IXmlSerializable serializable, String name, String ns, Boolean isNullable, Boolean wrapped) +68

   Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write157_Item(Object[] p) +125

   Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer285.Serialize(Object objectToSerialize, XmlSerializationWriter writer) +73

   System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id) +491

   System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle) +18

   System.Web.Services.Protocols.SoapServerProtocol.WriteReturns(Object[] returnValues, Stream outputStream) +1226

   System.Web.Services.Protocols.WebServiceHandler.WriteReturns(Object[] returnValues) +146

   System.Web.Services.Protocols.WebServiceHandler.Invoke() +459

   System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest() +726

   System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context) +134

   System.Web.Script.Services.HandlerWrapper.ProcessRequest(HttpContext context) +13

   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181

   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

Environment

Release : 9.3

Component : NQRPTA - REPORTERANALYZER

Resolution

This will usually only occur if you are running a large custom report with a time frame of 30 days or more and using a 15 minute resolution.

The default recommended resolution for a 30 day report is 8 hours.

To get the report to open, edit the report, or copy and edit the report and change the resolution to 30 minutes and run it again, and see if it will open, if not trying a longer resolution period until it will open.