When attempting to import a Managed Software Delivery policy, previously exported from another SMP, the attempt failed with error “”
The SMP logs showed an error similar to the following error trace (excerpt):
Module: w3wp.exe
Source: WebApplication
Description: HTTP Request failed: /Altiris/NS/Admin/Menu Items/ImportItem.aspx?ParentGuid=122e242f-1469-47c6-b647-764ac3a581d0
Maximum request length exceeded.
[System.Web.HttpException @ System.Web]
at System.Web.HttpRequest.GetEntireRawContent()
at System.Web.HttpRequest.GetMultipartContent()
at System.Web.HttpRequest.FillInFormCollection()
at System.Web.HttpRequest.EnsureForm()
at System.Web.HttpRequest.get_Form()
at System.Web.HttpRequest.get_HasForm()
at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)
at System.Web.UI.Page.DeterminePostBackMode()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
ITMS 7.x, 8.x
The XML content was very large. Much larger than IIS was capable of handling, even when adjusting the maximum request length parameters as per the following article:
http://www.smarterasp.net/support/kb/a1544/how-to-resolve-maximum-request-length-exceeded.aspx
Instead of attempting to use the SMP Console UI to import the XML content, instead use ImportExportUtil.exe which will import the items in the XML in small groups rather than all at once.
Usage: