Deploy website to IIS from VS - options aren't present? - iis

I am trying to get web deployment working, but following Microsoft: Publish to IIS
Prerequisites:
Must have VS2019 [yes]
Server is running Windows 2019 DataCenter
Running IIS 10
ASP 2.0, 3.0 and 4.7 installed
Web Deploy 3.6 for Hosting Server installed
Web Account Manager Service running
Web Deployment Agent Service running
Web Management Service Running
IIS Management Scripts and Tools installed
With the above installed, the instruction say to restart the IIS Console and chose Deploy > Configure Web Deploy Publishing from the Default website, but it's not showing (on the Default Site, or my App Services site)

To resolve the close iis manager if it is open.
Go to the "programs and feature".
Select web deploy -> click change.
Enable IIS Manager UI Module, IIS Deployment Handler, and Remote Agent Service.
Click next -> change -> finish.

Related

Publishing to Azure Virtual Machine with Web Deploy

I am trying to set up Web Deploy on Windows Server 2008 R2, I have installed Web Deploy and Web Management Service.
I know that I'm connecting to the server because I see the following in the log.
2015-06-19 12:13:59 100.72.108.11 HEAD /msdeploy.axd site=IAmAFish 8172 - 86.1.148.102 - 404 7 0 93
However, I'm receiving the standard error about checking that Web Deploy is running.
I suspect permissions are the issue and I'm currently trying to find 'IIS Manager Permssions' in IIS manager, after selecting the site. It's not there. How do I add this feature to IIS manager so that I can manage permissions?
It turns out that the version of Web Deploy installed by Web Platform Installer does not include the full suite of tools and should not be used for this.
Instead, download Web Deploy from:
http://www.iis.net/download/webdeploy
Be sure to restart IIS Manager to see the new icons.

VS2013 Express Web Deployment: how to configure it on server side

I want to do publish of web-api application from VS2013Express to Windows 7 Professional. When I start publishing, the authentication fails, but my account is administrative one on server machine.
On server: WEb Deploy 3.5 is installed. But I dont see option Deploy - > Configure Web Deploy Publishing on any of my sites.
Where is the problem:)?
PS. I was following this document for Web Deploy installation/configuration:
http://www.iis.net/learn/install/installing-publishing-technologies/installing-and-configuring-web-deploy-on-iis-80-or-later

"Configure Web Deploy" menu missing from IIS 8 menu

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.
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.
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.
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:
type programs and features (in the menu search box)
Go to WEB DEPLOY (install it from web platform installer in case you don't have it)
Select WEB DEPLOY and click the change option at the top
Check and install ALL options available
Wait to install and close/reopen IIS GUI
the options should appear when you right click over the site.
I had the same issue and installing "Web Deployment Tool 2.1" from the Web Platform installer fixed the issue.
Installing "IIS Management Service" from Web platform would show up all the required items.
coad comment was the solution for me. I was using Web Deploy 3.6 on IIS 8.5. Removed 3.6 and install 3.5 and it worked.
Be ware !! Web Deploy 3.6 doesn't work with IIS 8.5.9600.16384 ... after installation, server restart - the deploy menu doesn't appear in IIS manager console Web Deploy 2.0 how ever doesn't suffer this issue Best Regards,
I kept on right clicking on the web application instead of web site.
One can have multiple web applications under a web site. There is also a sub menu in the context menu when you right click the web application but it is "missing" the item "Configure Web Deploy Publishing...". This is because you configure web deploy publishing for web site and not for web application.
So to sum it up
Web site has this option
Web application doesn't have it

NServiceBus 4 with Windows 8 and Azure WebRole Issue

Running a webrole that is using NServiceBus 4 hangs when running in the local emulator. I have duplicated this on several windows 8 machines. Works fine on Windows 7. It appears that the only way to get it to run is to change the azure project (web settings) to "Use IIS Web Server." I am running Windows 8 and Visual Studio 2012 and Azure 2.0 SDK.
Here is how you can duplicate the problem by working with the PubSub sample from here:
http://particular.net/articles/windows-azure-transport
Build the project and run it to verify that it works out of the box
Now change the Web settings by right clicking on the azure project and Selecting the "Use IIS Express" option on the web tab.
Run the project now
The web role will simply hang. Any ideas? Running under IIS Express is preferred for many reasons.
there seem to be some known issues with IISExpress and Azure. Could you have a look at these pages and see if they help
Can't get azure web role to run locally using the emulator
Workaround for IIS Express Crashing When Running Windows Azure Cloud Service Web Role

Disparity in options available in Web Deploy 2.0 on two matching servers

IIS 7.5 is installed on two servers (both Windows Server 2008 R2) with Web Deploy 2.0 installed (to enable me to Publish from Visual Studio 2010.) Publishing straight from VS requires the Web Management Service be running on the server. I've been publishing to the first server for months, no problem. The second server has just been spun up (not by me) but as far as I can tell has all the same versions of components (OS, IIS, Web Deploy). However, on the second server the Web Management Service isn't installed. There's a key difference:
Web Deploy 2.0 options available on the first server:
Web Deploy 2.0 options available on the second server:
Why is there a difference between the two?
(Follow-up: I tried the Web Deploy 3.0 installer and encountered the exact same dialog as the second server, above, except that it said "3.0" instead of "2.0".)
Verify the proper IIS roles are installed on your new server. In the Server Manager console, under Web Server (IIS), verify the following roles are installed:
Management Tools
IIS Management Console
IIS Management Scripts and Tools
Management Service
Then try re-running your Web Deploy installer. I think you'll find you get the options you desire.

Resources