I have a issue when I'm trying to make a scanstate by using my config.xml.
I'll get this error:
Error [0x08055d] MXE Agent: Migration XML
\\dka102.corp.lego.com\SMSPKGH$\VID0000C\config.xml is not properly
formatted. Message: Should be exactly one <migration> element.
Error [0x0802fa] MigStartUp caught exception: class
Mig::BadFormatException: Should be exactly one <migration> element..
__thiscall Mig::CMXEMigrationXml::CMXEMigrationXml(class UnBCL::String
*,class UnBCL::XmlDocument *,class UnBCL::String *,class Mig::CUserContext *)
Info [0x000000] Leaving MigStartUp method
Error [0x000000] MigStartUp failed with MIGSTATUS 0x4.
Info [0x000000]
Info [0x000000] MIGSTATUS 0x4 means 'MIGSTATUS_EXCEPTION'
Error [0x000000] Unable to start the migration engine
successfully
Error [0x000000] USMT is unable to complete successfully.
Error [0x000000] Internal Error: USMT was unable to start
migration. If you continue to receive this error, contact Customer Service
and Support (CSS).
Info [0x000000] Please see the log file for more details.
Info [0x000000] USMT error Code (status) = 12
But if I run it with a normal command on the vista computer with the
config.xml file, it will go ok!
Does anyone have any clue?
--
Best regards
Thomas Pedersen
Windows Infrastructure
LEGO System
Are you sure that the config.xml isn't somehow being included on the command
line twice? Something like this:
Scanstate.exe /i:config.xml /i:config.xml [....]
I just tried that out on my system, and it failed with the exact same error
that you got. To check for this problem, you should look at the first line
of the Scanstate.log file. It will contain full command line that Scanstate
was called with.
Cheers,
Terry Dolan
Thanks for your answer. my execution state is like this:
Executing command line:
"\\dka102.corp.lego.com\SMSPKGH$\VID0000C\scanstate.exe"
"C:\_SMSTaskSequence\StateStore" /o /localonly /c /efs:copyraw /v:5
/l:"C:\Windows\system32\CCM\Logs\SMSTSLog\scanstate.log"
/progress:"C:\Windows\system32\CCM\Logs\SMSTSLog\scanstateprogress.log"
/i:"\\dka102.corp.lego.com\SMSPKGH$\VID0000C\config.xml"
So it is not represented 2 times...
--
Best regards
Thomas Pedersen
Windows Infrastructure
LEGO System
If the config.xml is the config file created when you run genconfig - then
you will need to use the /config option -
change you command from
/i:"\\dka102.corp.lego.com\SMSPKGH$\VID0000C\config.xml"
to
/config:"\\dka102.corp.lego.com\SMSPKGH$\VID0000C\config.xml"
and it should work --
I've myself tumbled a lot with USMT.
Recently I've finished a GUI for it and I just finished the latest
modifications with Config.xml (THX JR !!) and selection of filetypes.
Would you care to try it out some time? You can download it for free at:
http://usmtgui.ehler.dk
On beforehand
Thankyou