Error "[DEBUG] Button being added directly to Toolbar.Controls, this is not supported. Use 'ToolbarButtons' property of Toolbar."
search cancel

Error "[DEBUG] Button being added directly to Toolbar.Controls, this is not supported. Use 'ToolbarButtons' property of Toolbar."

book

Article ID: 264361

calendar_today

Updated On: 05-05-2025

Products

Client Management Suite

Issue/Introduction

When opening Home>Discovery and Inventory>Inventory in Symantec Management Console, the console page opens fine but the following error is written in the logs:

"[DEGUG] Button being added directly to Toolbar.Controls, this is not supported. Use 'ToolbarButtons' property of Toolbar." 

Steps to duplicate:

1. Open the Symantec Management Console

2. Go to Home>Discovery and Inventory>Inventory - as noted above the SMP Conole paged opens file but the following error is found in the logs: 

[DEBUG] Button being added directly to Toolbar.Controls, this is not supported. Use 'ToolbarButtons' property of Toolbar.

Message logged from:
   at Altiris.Diagnostics.Logging.EventLog.ReportException(int, string, string, Exception, string)
   at Altiris.WebControls.ToolbarControl+ToolbarControlCollection.Add(Control)
   at Altiris.Inventory.Web.Portal.invPortalPagePolicyStatus.ConfigureChildControls()
   at System.Web.UI.Control.OnInit(EventArgs)
   at System.Web.UI.Page.OnInit(EventArgs)
   at Altiris.NS.UI.AltirisPage.OnInit(EventArgs)
   at System.Web.UI.Control.InitRecursive(Control)
   at System.Web.UI.Page.ProcessRequestMain(bool, bool)
   at System.Web.UI.Page.ProcessRequest(bool, bool)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext)
   at Altiris.NS.UI.Controls.PageCachePage.ProcessRequest(HttpContext)
   at Altiris.NS.UI.AltirisPage.ProcessRequest(HttpContext)
   at System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep, ref bool)
   at System.Web.HttpApplication+PipelineStepManager.ResumeSteps(Exception)
   at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext, AsyncCallback)
   at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest, HttpContext)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, int)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, int)
   at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr, ref RequestNotificationStatus)
   at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr, ref RequestNotificationStatus)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, int)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, int)

HTTP [GET]: https://<SMPserverFQDN>Altiris/Inventory/Portal/invPortalPagePolicyStatus.aspx
 ip: [192.0.2.1]; languages: [en-US,en;q=0.9];
 timings: [[R] 00:00:00.0189988(W: 00:00:02.5320811)];
 response: [200 OK]; x-smp-nsversion: [8.7.1273.0];
-----------------------------------------------------------------------------------------------------
Date: 4/20/2023 1:05:20 AM, Tick Count: 600751093 (6.22:52:31.0930000), Size: 2.61 KB
Process: w3wp (1280), Thread ID: 33, Module: Altiris.Profiling.dll
Priority: 2, Source: ToolbarControlCollection.Add

Environment

ITMS 8.7 with SMA_SMP_8_7_POST_RTM_v3_14April.zip Point Fix

Cause

Defect

Resolution

This defect has been addressed in 8.7 RU1.