You are migrating an InfoPath Form library or a site that contains one, which is using administrator-approved form templates. The library copy throws an error similar to the one below. You may also see it when right-clicking on the source library and selecting Properties from the context menu.
Exception: GetList - No ObjectXml [Value does not fall within the expected range.]
Stack: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Metalogix.Transformers.TransformerDefinition`4.Transform(T dataObject, A action, C1 sources, C2 targets, TransformerCollection transformers)
at Metalogix.SharePoint.Actions.Migration.PasteListAction.CopyList(SPList sourceList, SPWeb targetWeb, Boolean bIsCopyRoot, Boolean bDisablePermissions, Boolean bCopyingForDependency)
Type: System.Reflection.TargetInvocationException
HResult:-2146232828
Inner Exception Stack: at Metalogix.SharePoint.SPList.GetListXML(Boolean bAlwaysRefetch)
at Metalogix.SharePoint.SPList.FetchData()
at Metalogix.SharePoint.SPList.get_ListXML()
at Metalogix.SharePoint.SPList.get_XML()
at Metalogix.SharePoint.Actions.Transform.BDCUpdater.Transform(SPList dataObject, PasteListAction action, SPListCollection sources, SPListCollection targets)
ERRORS:
Value does not fall within the expected range.
GetList main
Value does not fall within the expected range.
Type: System.ArgumentException
Stack: at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at Metalogix.SharePoint.Adapters.OM.OMAdapter.IsFormTemplateBrowserActivated(SPDocumentLibrary library)
at Metalogix.SharePoint.Adapters.OM.OMAdapter.GetListXML(SPList list, XmlWriter xmlWriter, Boolean bFullXML)
at Metalogix.SharePoint.Adapters.OM.OMAdapter.GetList(String listId)
The Form Library is using an administrator-approved InfoPath template, which is located in the Form Templates library. The template is linked from the custom content type where the form template has been published to. However, the link to the default template.xml is missing.
The original path must be re-added to the source library prior to the migration.
© ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center