Resolution
fact
Domain Migration Administrator 7.x
symptom
ERROR: [7552]E20458: The post-migration script failed. hr=80020006 Unknown name
symptom
ERROR: E20410: Script Engine Extension returned a Failed result hr=0x80020006
symptom
ERROR: [7550]E20141: The pre-migration script failed. hr=80020006 Unknown name
symptom
ERROR: E20410: Script Engine Extension returned a Failed result hr=0x80020006
symptom
Post migration script fails to execute during the migration.
symptom
Pre migration script fails to execute during the migration.
cause
fix
Domain Migration Administrator 7.x
symptom
ERROR: [7552]E20458: The post-migration script failed. hr=80020006 Unknown name
symptom
ERROR: E20410: Script Engine Extension returned a Failed result hr=0x80020006
symptom
ERROR: [7550]E20141: The pre-migration script failed. hr=80020006 Unknown name
symptom
ERROR: E20410: Script Engine Extension returned a Failed result hr=0x80020006
symptom
Post migration script fails to execute during the migration.
symptom
Pre migration script fails to execute during the migration.
cause
The pre- or post-migration script is incorrectly entered in the scripting window.
fix
Pre- and post-migration scripts (subroutines) must include the following specific first and last statements:
Pre-migration script
First statement: Sub PreProcess
Last statement: End Sub
Post-migration script
First statement: Sub Process
Last statement: End Sub
DMA cannot call subroutines that do not contain these statements in the correct location. Ensure your scripts include these initial and final statements in the Specify Migration Settings wizard or the Migrate Users/Groups/Computers wizard and rerun your migration.
Additional Information
Formerly known as NETIQKB49716