Migration completed with the warning. Some files of the migrated domains are missing in the destination host. The following warning is shown in migration log:
ForeignMigratorCore.MigratorException: System.Exception: Unable to access file "C:/inetpub/vhosts/example.com/httpdocs\\folder\\images\
ul.gif" for compression, file doesn't exist or is currently in use ---> System.ArgumentException: FileStream will not open Win32 devices such as disk partitions and tape drives. Avoid use of "\\.\" in the path. --- End of inner exception stack trace ---
Windows is based on DOS, and in DOS some special file exists (CON, NUL, PRN, LPT1, LPT2, AUX, COM1, COM2, COM3, COM4). Now in Windows Explorer, if you try to create a file called nul. or nul.gif etc. Windows returns an error " The specified device name is invalid ", like in the followin image .
Find more in the follwing Microsoft KB article .
While migrating the domain having the file
nul.gif , the process was unable to create the
nul.gif on the destination server and migration was getting failed.
Rename/remove all files with reserved names like
nul.* from the source server and reinitialize the migration.