Jump to content


Sign in to follow this  
Arcuss88

Problem Creating a config.xml for USMT 4.0

Recommended Posts

Sooo, I'm am trying to create a config.xml file so I can exclude certain items from being migrated. When I run the command that MS says to do this (scanstate /i:migapp.xml /i:miguser.xml /genconfig:config.xml /v:13) it consistently returns a failed code of 29. When I look in the scanstate.log file it says there is a syntax error in the XML file. This happens to both the MigApp and the MigUser, it just depends on which one I put first. If I run the command with just thescanstate /genconfig:config.xml /v:13 it runs fine but doesn't really help me. I just downloaded the most recent MigApp.xml file for support for Office 2010 and doubt that MS would publish a file like this with a syntax error. I've been searching the web for this issue elsewhere with no luck. If anyone has any ideas or have come across this before, PLEASE HELP! Thank you in advance.

Share this post


Link to post
Share on other sites


Did you also take a look at this hotfix: http://support.microsoft.com/kb/2023591

 

Yes, I should have been more specific, that is the updated MigApp.xml file that supports Office 2010. I believe I was running into this same problem when I was trying to create a config.xml file with the original migapp.xml file. I have loaded it into both XML Notepad and MS Visual Studio 2010 Express there are a few syntax error that appear even after I apply the schema but none of them are the line referenced in the error log.

 

I've attached the error log and copied it below. This is my first post so not sure which is the preferred method.

 

--------

 

2011-06-22 14:02:09, Info [0x000000] USMT Started at 2011/06/22:14:02:09.312

2011-06-22 14:02:09, Info [0x000000] Command line: scanstate /i:migapp.xml /i:miguser.xml /genconfig:config.xml /v:13

2011-06-22 14:02:09, Status [0x000000] Activity: 'MIGACTIVITY_COMMAND_LINE_PROCESSING'

2011-06-22 14:02:09, Info [0x000000] Script file specified: C:\USMT4\x86\migapp.xml[gle=0x00000002]

2011-06-22 14:02:09, Info [0x000000] Script file specified: C:\USMT4\x86\miguser.xml[gle=0x00000002]

2011-06-22 14:02:09, Info [0x000000] Downlevel Manifests path is C:\USMT4\x86\dlmanifests

2011-06-22 14:02:09, Info [0x000000] Starting the migration process[gle=0x000000cb]

2011-06-22 14:02:09, Status [0x000000] Activity: 'MIGACTIVITY_MIGRATION_START'

2011-06-22 14:02:09, Info [0x000000] Excluding path: C:\USMT4\x86

2011-06-22 14:02:09, Info [0x000000] Excluding path: C:\USMT4\x86\ScanState.log

2011-06-22 14:02:09, Info [0x000000] Excluding path: C:\USMT4\x86\config.xml

2011-06-22 14:02:09, Info [0x000000] Excluding path: C:\USMT4\x86\migapp.xml

2011-06-22 14:02:09, Info [0x000000] Excluding path: C:\USMT4\x86\miguser.xml

2011-06-22 14:02:09, Info [0x000000] Excluding path: %SystemDrive%\Boot

2011-06-22 14:02:09, Info [0x000000] Excluding path: C:\Boot

2011-06-22 14:02:09, Info [0x000000] Excluding path: %SystemDrive%\Build

2011-06-22 14:02:09, Info [0x000000] Excluding path: C:\Build

2011-06-22 14:02:09, Info [0x000000] Excluding path: %SystemDrive%\InstalledRepository

2011-06-22 14:02:09, Info [0x000000] Excluding path: C:\InstalledRepository

2011-06-22 14:02:09, Info [0x000000] Excluding path: %SystemDrive%\$RECYCLE.BIN

2011-06-22 14:02:09, Info [0x000000] Excluding path: C:\$RECYCLE.BIN

2011-06-22 14:02:09, Info [0x000000] Excluding path: %SystemDrive%\RECYCLER

2011-06-22 14:02:09, Info [0x000000] Excluding path: C:\RECYCLER

2011-06-22 14:02:09, Info [0x000000] Excluding path: %SystemDrive%\Recycled

2011-06-22 14:02:09, Info [0x000000] Excluding path: C:\Recycled

2011-06-22 14:02:09, Info [0x000000] Excluding path: %SystemDrive%\System Volume Information

2011-06-22 14:02:09, Info [0x000000] Excluding path: C:\System Volume Information

2011-06-22 14:02:09, Info [0x000000] Excluding path: %SystemDrive%\$UPGRADE.~OS

2011-06-22 14:02:09, Info [0x000000] Excluding path: C:\$UPGRADE.~OS

2011-06-22 14:02:09, Info [0x000000] Entering MigStartupOnline method

2011-06-22 14:02:09, Info [0x0803ac] Initializing online WinNT platform (Read/Write)

2011-06-22 14:02:09, Info [0x080000] Platform is using admin privileges

2011-06-22 14:02:09, Info [0x0803df] Adding direct mapping from HKLM to HKEY_LOCAL_MACHINE (R/W)

2011-06-22 14:02:09, Info [0x0803e1] Successfully mapped HKLM

2011-06-22 14:02:09, Info [0x0803df] Adding direct mapping from HKU to HKEY_USERS (R/W)

2011-06-22 14:02:09, Info [0x0803e1] Successfully mapped HKU

2011-06-22 14:02:09, Info [0x08087c] SMI engine is not available on this system

2011-06-22 14:02:09, Warning [0x08040c] Failed to create SMI engine

2011-06-22 14:02:09, Info [0x08040e] State data store is NOT available.

2011-06-22 14:02:09, Info [0x0803b4] COnlineWinNTPlatform: ComputerName=897-ALBILLTEST

2011-06-22 14:02:09, Info [0x0803b5] COnlineWinNTPlatform: Get Machine Sid S-1-5-21-3983400743-734527811-1596686406

2011-06-22 14:02:09, Info [0x080000] COnlineWinNTPlatform::GetMachineGuid - return value -> {0c7093bb-99e4-4c3f-b866-36e556612335}

2011-06-22 14:02:09, Info [0x0803b8] Processing profile: C:\WINDOWS\system32\config\systemprofile

2011-06-22 14:02:09, Info [0x0803bf] User profile HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-18 excluded because SID S-1-5-18 is excluded by default.

2011-06-22 14:02:09, Info [0x0803b8] Processing profile: C:\Documents and Settings\LocalService

2011-06-22 14:02:09, Info [0x0803bf] User profile HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-19 excluded because SID S-1-5-19 is excluded by default.

2011-06-22 14:02:09, Info [0x0803b8] Processing profile: C:\Documents and Settings\NetworkService

2011-06-22 14:02:09, Info [0x0803bf] User profile HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-20 excluded because SID S-1-5-20 is excluded by default.

2011-06-22 14:02:09, Info [0x0803b8] Processing profile: C:\Documents and Settings\Administrator

2011-06-22 14:02:09, Info [0x080000] Skipping temporary user profile HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-3983400743-734527811-1596686406-500

2011-06-22 14:02:09, Info [0x0803b8] Processing profile: C:\WINDOWS\system32\config\systemprofile

2011-06-22 14:02:09, Info [0x0803bf] User profile HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-18 excluded because SID S-1-5-18 is excluded by default.

2011-06-22 14:02:09, Info [0x0803b8] Processing profile: C:\Documents and Settings\LocalService

2011-06-22 14:02:09, Info [0x0803bf] User profile HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-19 excluded because SID S-1-5-19 is excluded by default.

2011-06-22 14:02:09, Info [0x0803b8] Processing profile: C:\Documents and Settings\NetworkService

2011-06-22 14:02:09, Info [0x0803bf] User profile HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-20 excluded because SID S-1-5-20 is excluded by default.

2011-06-22 14:02:09, Info [0x0803b8] Processing profile: C:\Documents and Settings\Administrator

2011-06-22 14:02:09, Info [0x0803df] Adding direct mapping from HKCU to HKEY_USERS\S-1-5-21-3983400743-734527811-1596686406-500 (R/W)

2011-06-22 14:02:09, Info [0x0803e1] Successfully mapped HKCU

2011-06-22 14:02:09, Info [0x0803df] Adding direct mapping from HKCU\Software\Classes to HKEY_USERS\S-1-5-21-3983400743-734527811-1596686406-500_Classes (R/W)

2011-06-22 14:02:09, Info [0x0803e1] Successfully mapped HKCU\Software\Classes

2011-06-22 14:02:09, Info [0x0803e6] Removing mapping for HKCU\Software\Classes

2011-06-22 14:02:09, Info [0x0803e7] Successfully unmapped HKCU\Software\Classes

2011-06-22 14:02:09, Info [0x0803e6] Removing mapping for HKCU

2011-06-22 14:02:09, Info [0x0803e7] Successfully unmapped HKCU

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_COMMON_DESKTOPDIRECTORY: C:\Documents and Settings\All Users\Desktop, default location: No

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_COMMON_DOCUMENTS: C:\Documents and Settings\All Users\Documents, default location: No

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_COMMON_PROGRAMS: C:\Documents and Settings\All Users\Start Menu\Programs, default location: No

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_COMMON_STARTMENU: C:\Documents and Settings\All Users\Start Menu, default location: No

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_COMMON_STARTUP: C:\Documents and Settings\All Users\Start Menu\Programs\Startup, default location: No

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_COMMON_TEMPLATES: C:\Documents and Settings\All Users\Templates, default location: No

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_COMMON_MUSIC: C:\Documents and Settings\All Users\Documents\My Music, default location: No

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_COMMON_PICTURES: C:\Documents and Settings\All Users\Documents\My Pictures, default location: No

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_COMMON_VIDEO: C:\Documents and Settings\All Users\Documents\My Videos, default location: No

2011-06-22 14:02:09, Info [0x0803ae] Dumping detected users:

2011-06-22 14:02:09, Info [0x0803af] Name: Guest, Domain: 897-ALBILLTEST, Profile: (NULL), SidString: S-1-5-21-3983400743-734527811-1596686406-501, ID: USER00000002, IsAdmin: 0, IsBuiltInAdmin: 0, IsDisabled: 1, IsInteractive: 1, Groups: Guests

2011-06-22 14:02:09, Info [0x0803af] Name: ASPNET, Domain: 897-ALBILLTEST, Profile: (NULL), SidString: S-1-5-21-3983400743-734527811-1596686406-1004, ID: USER00000001, IsAdmin: 0, IsBuiltInAdmin: 0, IsDisabled: 0, IsInteractive: 1, Groups: Users

2011-06-22 14:02:09, Info [0x0803af] Name: Administrator, Domain: 897-ALBILLTEST, Profile: %SystemDrive%\Documents and Settings\Administrator, SidString: S-1-5-21-3983400743-734527811-1596686406-500, ID: USER00000000, IsAdmin: 1, IsBuiltInAdmin: 1, IsDisabled: 0, IsInteractive: 1, Groups: Administrators

2011-06-22 14:02:09, Info [0x080000] Known folder FOLDERID_Downloads: C:\Documents and Settings\Administrator\Downloads, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_INTERNET_CACHE: C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_COOKIES: C:\Documents and Settings\Administrator\Cookies, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_DESKTOP: C:\Documents and Settings\Administrator\Desktop, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_DESKTOPDIRECTORY: C:\Documents and Settings\Administrator\Desktop, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_FAVORITES: C:\Documents and Settings\Administrator\Favorites, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_HISTORY: C:\Documents and Settings\Administrator\Local Settings\History, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_MYPICTURES: C:\Documents and Settings\Administrator\My Documents\My Pictures, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_MYMUSIC: C:\Documents and Settings\Administrator\My Documents\My Music, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_MYVIDEO: C:\Documents and Settings\Administrator\My Documents\My Videos, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_PERSONAL: C:\Documents and Settings\Administrator\My Documents, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_MYDOCUMENTS: C:\Documents and Settings\Administrator\My Documents, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_PROGRAMS: C:\Documents and Settings\Administrator\Start Menu\Programs, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_RECENT: C:\Documents and Settings\Administrator\Recent, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_SENDTO: C:\Documents and Settings\Administrator\SendTo, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_STARTMENU: C:\Documents and Settings\Administrator\Start Menu, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_STARTUP: C:\Documents and Settings\Administrator\Start Menu\Programs\Startup, default location: Yes

2011-06-22 14:02:09, Info [0x080000] Known folder CSIDL_TEMPLATES: C:\Documents and Settings\Administrator\Templates, default location: Yes

2011-06-22 14:02:09, Info [0x0803af] Name: User_Account, Domain: 897-ALBILLTEST, Profile: (NULL), SidString: S-1-5-21-3983400743-734527811-1596686406-1005, ID: USER00000005, IsAdmin: 1, IsBuiltInAdmin: 0, IsDisabled: 0, IsInteractive: 1, Groups: Administrators;Users

2011-06-22 14:02:09, Info [0x0803af] Name: SUPPORT_388945a0, Domain: 897-ALBILLTEST, Profile: (NULL), SidString: S-1-5-21-3983400743-734527811-1596686406-1002, ID: USER00000004, IsAdmin: 0, IsBuiltInAdmin: 0, IsDisabled: 1, IsInteractive: 0, Groups: HelpServicesGroup

2011-06-22 14:02:09, Info [0x0803af] Name: HelpAssistant, Domain: 897-ALBILLTEST, Profile: (NULL), SidString: S-1-5-21-3983400743-734527811-1596686406-1006, ID: USER00000003, IsAdmin: 0, IsBuiltInAdmin: 0, IsDisabled: 1, IsInteractive: 0, Groups:

2011-06-22 14:02:09, Info [0x0805a8] Added drive root mapping for 'C:\' (type: 1, file system: 1, bus type: 3, hotplug media: No, hotplug device: No)

2011-06-22 14:02:09, Info [0x0805a8] Added drive root mapping for 'D:\' (type: 2, file system: 0, bus type: 0, hotplug media: No, hotplug device: No)

2011-06-22 14:02:09, Info [0x0803e5] Not unmapping HKCU\Software\Classes; it is not mapped

2011-06-22 14:02:09, Info [0x0803e5] Not unmapping HKCU; it is not mapped

2011-06-22 14:02:09, Info [0x080485] Initializing OS analysis service (data path = C:\USMT4\x86)

2011-06-22 14:02:09, Info [0x080481] Retrieving patterns from C:\USMT4\x86\SFPAT.INF (section prefix: System)

2011-06-22 14:02:09, Info [0x080482] Done retrieving patterns from C:\USMT4\x86\SFPAT.INF

2011-06-22 14:02:09, Info [0x080481] Retrieving patterns from C:\USMT4\x86\SFPATXP.INF (section prefix: System)

2011-06-22 14:02:09, Info [0x080482] Done retrieving patterns from C:\USMT4\x86\SFPATXP.INF

2011-06-22 14:02:09, Info [0x080481] Retrieving patterns from C:\USMT4\x86\SFPAT.INF (section prefix: User)

2011-06-22 14:02:09, Info [0x080482] Done retrieving patterns from C:\USMT4\x86\SFPAT.INF

2011-06-22 14:02:09, Info [0x080481] Retrieving patterns from C:\USMT4\x86\SFPATXP.INF (section prefix: User)

2011-06-22 14:02:09, Info [0x080482] Done retrieving patterns from C:\USMT4\x86\SFPATXP.INF

2011-06-22 14:02:09, Info [0x080466] Creating list-based system object filter

2011-06-22 14:02:09, Info [0x080469] Opening file list from file: C:\USMT4\x86\SFLISTXP.DAT

2011-06-22 14:02:09, Warning [0x080462] CListSysFileFilter::BuildTree: could not create FileList object for C:\USMT4\x86\SFLISTXP.DAT: Win32Exception: \\?\C:\USMT4\x86\SFLISTXP.DAT: The system cannot find the file specified. [0x00000002] __thiscall UnBCL::FileStream::FileStream(const class UnBCL::String *,enum UnBCL::FileMode,enum UnBCL::FileAccess,enum UnBCL::FileShare,unsigned long)

2011-06-22 14:02:09, Info [0x080486] Initialized OS analysis service

2011-06-22 14:02:09, Info [0x080489] Setting system object filter context (System)

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: C:\USMT4\x86\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: C:\USMT4\x86 [scanState.log]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: C:\USMT4\x86 [config.xml]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: C:\USMT4\x86 [migapp.xml]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: C:\USMT4\x86 [miguser.xml]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: %SystemDrive%\Boot\* [*] transformed to: C:\Boot\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: C:\Boot\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: %SystemDrive%\Build\* [*] transformed to: C:\Build\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: C:\Build\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: %SystemDrive%\InstalledRepository\* [*] transformed to: C:\InstalledRepository\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: C:\InstalledRepository\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: %SystemDrive%\^$RECYCLE.BIN\* [*] transformed to: C:\^$RECYCLE.BIN\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: C:\^$RECYCLE.BIN\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: %SystemDrive%\RECYCLER\* [*] transformed to: C:\RECYCLER\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: C:\RECYCLER\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: %SystemDrive%\Recycled\* [*] transformed to: C:\Recycled\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: C:\Recycled\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: %SystemDrive%\System Volume Information\* [*] transformed to: C:\System Volume Information\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: C:\System Volume Information\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: %SystemDrive%\^$UPGRADE.~OS\* [*] transformed to: C:\^$UPGRADE.~OS\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: C:\^$UPGRADE.~OS\* [*]

2011-06-22 14:02:09, Info [0x000000] Startup exclusions - Adding excluded file pattern: C:\Documents and Settings\Administrator\Local Settings\Temp\tmp1EE.tmp\* [*]

2011-06-22 14:02:09, Info [0x080172] AgentManager: not loading agent CMockAgent in mockagent.dll due to configuration settings

2011-06-22 14:02:09, Error [0x08055b] MXE Agent: XML parse error while loading script C:\USMT4\x86\migapp.xml. Message: hResult = 0x0, Line = 7349, Position = 3; Only one top level element is allowed in an XML document.

.

2011-06-22 14:02:09, Error [0x000000] EngineStartup caught exception: XmlException: hResult = 0x0, Line = 7349, Position = 3; Only one top level element is allowed in an XML document.

. void __thiscall UnBCL::XmlDocument::Load(class UnBCL::String *)

2011-06-22 14:02:09, Info [0x0803e6] Removing mapping for HKLM

2011-06-22 14:02:09, Info [0x0803e7] Successfully unmapped HKLM

2011-06-22 14:02:09, Info [0x0803e6] Removing mapping for HKU

2011-06-22 14:02:09, Info [0x0803e7] Successfully unmapped HKU

2011-06-22 14:02:09, Info [0x080487] Destroying OS analysis service

2011-06-22 14:02:09, Info [0x080488] Destroyed OS analysis service

2011-06-22 14:02:09, Info [0x000000] Leaving MigStartupOnline method

2011-06-22 14:02:09, Error [0x000000] Error while trying to start the migration process[gle=0x00000012]

2011-06-22 14:02:09, Info [0x000000] Failed.[gle=0x00000002]

2011-06-22 14:02:09, Info [0x000000] Migration failed because of an XML error; look in the log for specific details[gle=0x00000002]

2011-06-22 14:02:09, Info [0x000000] USMT Completed at 2011/06/22:14:02:09.891[gle=0x00000002]

2011-06-22 14:02:09, Info [0x000000] Entering MigShutdown method

2011-06-22 14:02:09, Info [0x000000] Leaving MigShutdown method

 

--------scanstate.log

Share this post


Link to post
Share on other sites

Ok, I think I figured out a workaround that I can use.

 

I commented out all the sections of the MigApp.xml & MigUser.xml that I wasn't going to use anyway and ran it again. No errors came up and it did successfully create the config.xml file. I believe it should be alright since I was going to just exclude a bunch of things anyway but I was hoping to keep the stock xml files as vanilla as possible.

Share this post


Link to post
Share on other sites

I see that you figured out a workaround, so you probably don't care what the problem was. But I ran into this problem today and found your post searching for the error message from the scanstate.log, "Only one top level element is allowed in an XML document". I figured it out, so I felt I should add my solution to your thread in case anybody else comes looking for this error.

 

This is an XML structure error. The text tells you what the problem is - you can only have one top level element per XML file. In a USMT XML file, that top level element is <migration>. The file starts with that element (after comment tags which don't count), and ends with </migration> to close the top level element.

 

In my case, I'd appended some more exclusions to my XML and left an orphaned </migration> element in the middle of the file. Once the <migration> element was closed with the </migration> line, standard XML rules require that you can't start any more new "top level elements".

 

I removed the orphaned </migration> line and my custom.xml parsed correctly.

 

If you'd located line 7349 in your modified migapp.xml file (as indicated in the scanstate.log file you uploaded), you would probably find a line </migration> right above it. Also, Best Practice is not to modify the stock xml files for USMT - just add your own custom.xml and add it to your command lines with /i (or copy migapp.xml to another name and modify that).

 

/mark

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...