web deploy max web site size RRS feed

  • Question

  • User-81639759 posted

    I have been packaging up several web sites using web deploy. On one site, I received a message stating the site is too large. What is the maximum site size that can be packaged? How do package a site and migrate it if this is the case? 

    Friday, February 24, 2017 7:45 PM

All replies

  • User-460007017 posted

    Hi christopher877,

    Based on my understanding, there is a limitation of 2GB for single file and 65536 files in web deploy package. It is said that there is also a 4gb limitation of web deploy package.


    To resolve this issue, you could use the archiveDir provider when creating a package instead. Currently there is no solution for this limit with respect to automatic backups:

    msdeploy -verb:sync -source:apphostconfig="Site1" -dest:archivedir=c:\archive 
    msdeploy -verb:sync -source:archivedir=c:\archive -dest:appHostConfig="Site1",computerName=NewServer


    Best Regards,

    Yuk Ding

    Monday, February 27, 2017 6:36 AM
  • User-81639759 posted

    I tried that but received an error stating 

    More Information: Object of type 'apphostconfig' and path 'Site1' cannot be created. Learn more at go.microsoft*********
    Error: A command was issued that requires the IIS Cionfiguration System but the system is not available. Make sure you are using a version of IIS that contains the configuration system.
    Error count: 1"

    Any ideas? 

    Tuesday, February 28, 2017 4:01 PM
  • User-81639759 posted

    So, if I can't use Web Deploy due to the site size and the ArchiveDIR provider will not work, am I SOL? I am guessing we have to find another solution to migrate these sites. Does anybody have any suggestions?

    Thursday, March 2, 2017 2:58 PM
  • User166007674 posted

    Which version of Web Deploy are you using? Try Web Deploy 4 that comes with Visual Studio (Source: How to migrate website between IIS servers using Web Deploy (msdeploy))

    Wednesday, July 31, 2019 8:38 PM