Configure Web Deploy on IIS 8

As usual, it takes quite a bit of effort to get web deploy working properly on IIS 8.

Personally, I find the following articles more useful:


Here is my recommended checklist:

  1. Windows Server 2012 already has .NET 4.0 on it, so you don’t need to install it.
  2. Run Web Platform Installer and Add/Install the following:
    1. IIS: Management Service
    2. IIS: Basic Authentication
    3. Web Deploy 3.5
  3. Make sure your Web Deploy also has IIS Deployment Handler (and sub features) installed.  That was missing for me.
  4. On IIS 8, enable “Basic Authentication” on the server level.
  5. On IIS 8, Management Service.  Enable remote connections and start Web Management Service.
  6. Make sure Web Management Service has “Automatic” startup in Services.
  7. Make sure the Windows Firewall allows inbound port 8172 for the Web Management Service.
  8. Make sure Azure or AWS or 3rd party firewall allows inbound 8172.

In my case, I was encountered something like the following:


Could not connect to the destination computer (“deployserver”). On the destination computer, make sure that Web Deploy is installed and that the required process (“The Web Management Service”) is started.

The remote server returned an error: (404) Not Found.


Web Deploy was installed.  However, IIS Deployment Handler was never installed.


  1. Control Panel –> Program and Features
  2. Microsoft Web Deploy 3.5 –> Change –> Change
  3. Make sure IIS Deployment Handler and sub features are installed.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s