Troy Lea
Guest
|
Posted:
Mon Nov 14, 2005 9:50 am Post subject:
ADS - One or more string arguments are too long |
|
|
I've created an xml file to use in ADS so I can capture an image of a server.
However when the script goes to run it cancels the image capture and returns
the following message: "One or more string arguments are too long."
I will admit that I've used a long description and name so I would like to
know what are the maximum lengths of these fields? I'm creating a batch file
that automatically creates the XML file so if I know the max lengths of these
fields I can avoid this in the future.
I've attached a copy of my script below so you can see exactly what I mean.
<?xml version="1.0" encoding="utf-8"?>
<!-- start sequence -->
<sequence command="Capture_1855_BLADE_TEST_PLAIN_W2K3_IMAGE.XML"
description="Capture_1855_BLADE_TEST_PLAIN_W2K3_IMAGE"
xmlns="http://schemas.microsoft.com/ads/2003/sequence" version="1">
<!-- STEP 1 Boot_to_deployment_agent -->
<task description="Boot_to_deployment_agent">
<command>/pxe/boot-da</command>
</task>
<!-- STEP 2 Capture image of \harddisk0\partition1 (DELL_UTILITY) -->
<task description="Capture image of \harddisk0\partition1 (DELL_UTILITY)">
<command>/imaging/imgbmdeploy.exe</command>
<parameters>
<parameter>1855_BLADE_TEST_HardDisk_0_Partition_1_(DELL_UTILITY)</parameter>
<parameter>\device\harddisk0\partition1</parameter>
<parameter>"DELL_UTILITY"</parameter>
<parameter>-c</parameter>
<parameter>-client</parameter>
</parameters>
</task>
<!-- STEP 3 Capture image of \harddisk0\partition2 (W2K3) -->
<task description="Capture image of \harddisk0\partition2 (W2K3)">
<command>/imaging/imgbmdeploy.exe</command>
<parameters>
<parameter>1855_BLADE_TEST_HardDisk_0_Partition_2_(W2K3)</parameter>
<parameter>\device\harddisk0\partition2</parameter>
<parameter>"W2K3"</parameter>
<parameter>-c</parameter>
<parameter>-client</parameter>
</parameters>
</task>
</sequence> |
|