Article ID: 945348 - View products that this article applies to.
When you try to use the WsusMigrationImport tool to import data into a Windows Server Update Services 3.0 (WSUS) server, you may receive the following exception error message:
Note Microsoft provides the WsusMigrationImport tool as a sample tool.
WsusMigration failed with the below exception!
System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object args)
at System.String.Format(IFormatProvider provider, String format, Object args)
at System.IO.TextWriter.WriteLine(String format, Object arg0, Object arg1, Object arg2)
at System.IO.TextWriter.SyncTextWriter.WriteLine(String format, Object arg0, Object arg1, Object arg2)
at Microsoft.WsusMigrationTools.ImportServerStatus.ProcessNode(XmlTextReader reader)
at Microsoft.WsusMigrationTools.ImportServerStatus.ImportData(XmlTextReader reader)
at Microsoft.WsusMigrationTools.WsusMigrationTool.Main(String args)
This is problem occurs because of an error in the WsusMigrationImport tool.
To resolve this problem, edit and recompile the source code of the WsusMigrationImport tool to fix the error. To do this, follow these steps.
Note Because the WsusMigrationImport tool is shipped as a sample, Microsoft has included the source code with the tool.
Note Microsoft does not support changing the source code of the WsusMigrationImport.cs file.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Contact us for more help
Connect with Answer Desk for expert help.