We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • Error when trying to import entire web server

    Jul 24, 2017 03:58 PM|R4L|LINK

    Hello all.

    So, we recently upgraded a server and successfully migrated from IIS6 to IIS7.5. Now, I want to move to Server 2012 with IIS8.5.

    On the old server, I tried exporting the server in IIS Manager, but was told the package exceeds 2GB, so I used msdeploy commands to create an archiveDir instead. I've moved the archiveDir over to the new server, on the C:\ root.

    Using msdeploy again, I run:

    msdeploy -verb:sync -source:archiveDir=c:\backup,encryptPassword=mypassword -dest:webServer -whatif

    Prompt returns with an error "cannot create a file when that file already exists." I've tried just installing Web Deploy and running it again, but it still does not work. I've wiped the drive, reinstalled Server 2012, installed my server roles and tried again, but I still receive this error. I want to move the entire server over to save myself some headaches, but this is turning into one itself! What can I do?