When trying to receive items from a purchase order (under the Receive Items page):
the following generic error page is displayed (or an error about a resource has a duplicated field) :
"Symantec Management Server ErrorAn error has occurred that prevents the Symantec Management Console displaying correctly."
The NS logs show the following error entry:
HTTP Request failed: /Altiris/AssetControl/Receiving/Wizards/ReceiveItems.aspx?itemguid=f2a4f7f5-93ad-450d-a181-e2ce4227b486
Providing a non-null 'timeoutHandler' or a true 'executeInParallel' parameter value to the PageAsyncTask constructor is unsupported in the current application configuration. To work around this, add the following configuration switch in Web.config:<appSettings> <add key="aspnet:UseTaskFriendlySynchronizationContext" value="false" /></appSettings>For more information, see http://go.microsoft.com/fwlink/?LinkId=252465. [InvalidOperationException @ System.Web.dll] at System.Web.Util.SynchronizationContextUtil.ValidateMode(SynchronizationContextMode, SynchronizationContextMode, string) at System.Web.UI.PageAsyncTask..ctor(BeginEventHandler, EndEventHandler, EndEventHandler, object, bool, SynchronizationContextMode) at Altiris.AssetControl.Web.Receiving.Wizards.PageAsync.Setup(PageAsync, AsyncCallback, Page, int, HttpContext, EndEventHandler, EndEventHandler, EndEventHandler) at Altiris.AssetControl.Web.Receiving.Wizards.ReceiveItems.ReceivingItemsGrid_receiveBtnClicked(object, EventArgs) at Altiris.Receiving.Controls.ReceivingEditableGridControl.OnReceiveBtnClicked(object, EventArgs) at Altiris.Receiving.Controls.ReceivingEditableGridControl.btnGenerate_Click(object, EventArgs) at System.Web.UI.WebControls.Button.OnClick(EventArgs) at System.Web.UI.WebControls.Button.RaisePostBackEvent(string) at System.Web.UI.Page+<ProcessRequestMainAsync>d__523.MoveNext()
Exception logged from: at Altiris.Profiling.Support.LogSupport.BuildExceptionMessage(string, Exception, string, bool) at Altiris.NS.UI.AltirisWebApplication.ReportApplicationError(HttpContext) at Altiris.NS.UI.AltirisWebApplication.Application_Error(object, EventArgs) at System.Web.HttpApplication.RaiseOnError() at System.Web.HttpApplication.RecordError(Exception) 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)
-----------------------------------------------------------------------------------------------------Date: 1/24/2024 10:56:34 AM, Tick Count: 312186203 (3.14:43:06.2030000), Size: 3.06 KBProcess: w3wp (30252), Thread ID: 2924, Module: Altiris.NS.UI.dllPriority: 1, Source: WebApplication
ITMS 8.7.x
The actual error entry in the NS log shows what is suggested for you to do:
Providing a non-null 'timeoutHandler' or a true 'executeInParallel' parameter value to the PageAsyncTask constructor is unsupported in the current application configuration. To work around this, add the following configuration switch in Web.config:<appSettings> <add key="aspnet:UseTaskFriendlySynchronizationContext" value="false" /></appSettings>For more information, see http://go.microsoft.com/fwlink/?LinkId=252465.
Try the following: