I have been trying to setup Web Deploy on my Windows 2012 server running IIS 8. I have installed Web Deploy using Platform installer but when I right click my website and select deploy, there is no option for Configure Web Deploy Publishing
as various documentation suggests.
Is Web Deploy installed? You can verify web deploy is installed by going to the "Programs and Features" control panel and looking for "Microsoft Web Deploy 2.0" in the list of installed programs. If it is not there, you can install it via the Web Platform Installer by going to the "Products" tab.
To check that the Web Deployment Agent Service is runningOn the Start menu, point to Administrative Tools, and then click Services. Locate the Web Deployment Agent Service row, and verify that the Status is set to Started.
If Windows Firewall is enabled on your web server, you'll need to create a new inbound rule to allow TCP traffic on port 8172 (all outbound traffic is permitted by default in Windows Firewall). If you use a third-party firewall, you'll need to create rules to allow traffic.
For me the reinstall of Web Deploy didn't work. But I fixed it.
Go into the Server Manager, Roles, click on IIS, click on Add Role Services, check the Management Service. Close that out. Reopen IIS Manager, and voila the option is available!
For Windows2012 R2 server, options is in'Web Server (IIS)' -> 'Management Tools' –> 'Management Service'
P.S. Some additional steps could be required, as of @Gaui experience. Afterwards go to Programs and Features, find Web Deploy, click Change and check/install all checkboxes/features.
I found this posting where the individual had the same problem. Turns out that he needed to install "Web Deploy 3.5 for Hosting Servers" on top of the other Web Deploy packages in web platform installer. Once I did this and restarted IIS the option became available.
Seems counter-intuitive to me since I am not a hosting provider and just wanted to host my application on my own server. I am not sure why the Web Deploy 3.5 package was not enough.
I had additional problems getting Web Deploy configured. This article on Web Deploy error codes helped me troubleshoot the problem. Another article on Configure the Web Deployment Handler was essential in solving the permissions issue allowing the web deploy user to create directories and files.
You need to install Management Service before you install Web Deploy. If you haven't uninstall Web Deploy and reinstall it and it should work.
UPDATED: Follow these steps:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With