Generate Command Line for a package fails with error (Chinese Simplified console)
search cancel

Generate Command Line for a package fails with error (Chinese Simplified console)

book

Article ID: 163672

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

Unable to Generate Command Line when using Simplified Chinese localized console. See error below.

No error if switch to another language.

HTTP Request failed:
 /Altiris/SoftwareManagement/Dialogs/CommandLineBuilder/dlgMSICommandLineBui
lder.aspx?CmdTypeGuid=fa0d9f0f-14f3-4851-8bfc-
ee56d2b11b0e&SWItemGuid=cc3d5e6e-9142-41af-87dc-
271246ea616b&PkgGuid=a8959e33-30f0-478c-a539-807a82efc518&CommandLine=

Failed to load viewstate.  The control tree into which viewstate is being 
loaded must match the control tree that was used to save viewstate during 
the previous request.  For example, when adding controls dynamically, the 
controls added during a post-back must match the type and position of the 
controls added during the initial request.
   [System.Web.HttpException @ System.Web]
   at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)
   at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
   at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)
   at System.Web.UI.Control.AddedControl(Control control, Int32 index)
   at Altiris.WebControls.ToolbarControl.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean 
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Environment

ITMS 8.0HF3

Cause

Product defect

Resolution

Product fix delivered in ITMS8.0HF4

 

Or use following steps to address situation until HF4 is available:

 

1. Run SQL query against SMP database:

update  StaticString

set String = N'"<< 选择 >>"需要在已生成的命令行中使用有效的 MSI 文件来将其替换。'

where StringRef ='wrnTmpFileUsed' and Culture='zh-Hans'

2. Restart Server.