Video Screencast Help

MonitorPage.OnLoad OutOfMemoryException

Created: 11 Oct 2012
stylo_bra's picture

 

Hi All,

Anyone have encounter the below error with monitor solution version 7.0. The event console webpart is showing 'Altiris Notification Server Error'. Below is the error extract from Altiris log.

Any advice will be appreciated.

 

<event date="Oct 10 12:53:08 +00:00" severity="1" hostName="servername" source="Altiris.Monitor.Common.ATrace.ReportInternal" module="w3wp.exe" process="w3wp" pid="8952" thread="341" tickCount="1391822000"><![CDATA[Thread:0341 MonitorPage.OnLoad:  OutOfMemoryException('Exception of type 'System.OutOfMemoryException' was thrown.')
**CEDUrlStart** :http://entced.symantec.com/entt?product=SMP&version=7.0.8800.0&language=en&module=bPdpENkDirkzvsLj2PcvdLA5WU6mn004eTvF35XBHMc=&error=-958112050&build=**CEDUrlEnd**

( Exception Details: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.String.CreateStringFromEncoding(Byte* bytes, Int32 byteLength, Encoding encoding)
   at System.Text.UnicodeEncoding.GetString(Byte[] bytes, Int32 index, Int32 count)
   at System.Data.SqlClient.TdsParserStateObject.ReadString(Int32 length)
   at System.Data.SqlClient.TdsParser.ReadSqlStringValue(SqlBuffer value, Byte type, Int32 length, Encoding encoding, Boolean isPlp, TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.ReadSqlValue(SqlBuffer value, SqlMetaDataPriv md, Int32 length, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlDataReader.ReadColumnData()
   at System.Data.SqlClient.SqlDataReader.ReadColumn(Int32 i, Boolean setTimeout)
   at System.Data.SqlClient.SqlDataReader.GetValueInternal(Int32 i)
   at System.Data.SqlClient.SqlDataReader.GetValues(Object[] values)
   at System.Data.ProviderBase.DataReaderContainer.CommonLanguageSubsetDataReader.GetValues(Object[] values)
   at System.Data.ProviderBase.SchemaMapping.LoadDataRow()
   at System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping)
   at System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)
   at System.Data.Common.DataAdapter.Fill(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
   at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
   at Altiris.EventConsole.DataAccessLayer.Alerts.GetAlertsViewBySeverityAndProduct(AlertSeverity severity, Boolean useSeverityAsBaseLine, Guid productGuid, Cache cache)
   at Altiris.EventConsole.BusinessLogic.Alerts.GetAlertsView(AlertSeverity severity, Boolean useSeverityAsBaseLine, Guid productGuid)
   at Altiris.Monitor.UI.PortalWebParts.SeverityProcessor.GetData()
   at Altiris.Monitor.UI.PortalWebParts.SeverityProcessor.GetWebPartData(List`1 filteredMachines, WebPartCommand command)
   at Altiris.Monitor.UI.PortalWebParts.ResourceByStatusContent.ProcessSeverities(List`1 filteredMachines)
   at Altiris.Monitor.UI.PortalWebParts.ResourceByStatusContent.GetStatusContent()
   at Altiris.Monitor.UI.PortalWebParts.ResourceByStatusContent.MonitorPageLoad(EventArgs e)
   at Altiris.Monitor.UI.MonitorPage.OnLoad(EventArgs e) )
( Exception logged from:
   at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
   at Altiris.NS.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
   at Altiris.NS.Logging.EventLog.ReportException(Int32 severity, String strMessage, Exception exception)
   at Altiris.Monitor.Common.ATrace.ReportInternal(Category category, String message, Exception ex, Int32 stackLevel)
   at Altiris.Monitor.Common.ATrace.Report(Exception ex)
   at Altiris.Monitor.UI.MonitorPage.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.configui_portalwebparts_resourcebystatuscontent_aspx.ProcessRequest(HttpContext context)
   at ComponentArt.Web.UI.CallbackHandler.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
   at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)
   at System.Web.HttpApplication.ResumeStepsFromThreadPoolThread(Exception error)
   at System.Web.HttpApplication.AsyncEventExecutionStep.ResumeStepsWithAssert(Exception error)
   at System.Web.HttpApplication.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar)
   at System.Web.HttpAsyncResult.Complete(Boolean synchronous, Object result, Exception error, RequestNotificationStatus status)
   at System.Web.SessionState.SessionStateModule.PollLockedSessionCallback(Object state)
   at System.Threading._TimerCallback.TimerCallback_Context(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading._TimerCallback.PerformTimerCallback(Object state)
 )
( Extra Details:  Type=System.OutOfMemoryException Src=mscorlib )]]></event>