An error occurred during domain creation: unable to set domain name: DNS records for domain with such name already exist

Refers to:

  • Plesk 11.5 for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Created:

2016-11-16 13:23:55 UTC

Modified:

2016-12-21 20:37:45 UTC

0

Was this article helpful?


Have more questions?

Submit a request

An error occurred during domain creation: unable to set domain name: DNS records for domain with such name already exist

Symptoms

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 ---

Cause

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 screenshot .

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.

Resolution

Rename/remove all files with reserved names like nul.* from the source server and reinitialize the migration.

Have more questions? Submit a request
Please sign in to leave a comment.