简体   繁体   中英

Missing “Import Web Application” option in Web Deploy 3.6

Using Web Deploy 3.6 both on IIS 8.5 (Windows Server 2012 R2) and IIS 7.5 (Windows 7), I cannot find the Deploy -> "Import Web Application" option. The "Export Web Application" is also missing (see screenshot)

在此处输入图片说明

I can still see the "Install Application from Gallery" but that does not really help. All works fine with Web Deploy 3.5.

Are the Import / Export Web Application options removed in 3.6? If yes, what is the alternative to deploy a standard ASP.NET MVC app to IIS 8.5 with Web Deploy 3.6? If not, what do I need to do to enable / see them again?

WebDeploy 3.6 prerequisites for Import / Export Web Application slightly changed and more rights need to be given for web management to enable these options again.

Here are the steps to allow it again in Windows Server 2012 R2 (and Windows Server 2016):

  1. Using Server Manager get to Add Roles and Features.

  2. Pick 'Management Service' under Roles/Web Server/Management Tools

  3. Either uninstall and reinstall WebDeploy 3.6 or use the Change option and make sure to install the “IIS Deployment Handler” for Web Deploy. This will bring back the Import / Export Web Application option again.

Steps to allow it again in Windows 7:

  1. Go to Turn Windows features on or off

  2. Under Web Management Tools -> enable IIS Management Service

  3. same as above for Windows 2012 (for Windows 10 you will likely need to run a repair installation on WebDeploy before this solution works)

Download "Web Platform Installer" from here: https://www.microsoft.com/web/downloads/platform.aspx

Then search "Web Deployment Tool 2.1". I have it in Spanish like this: "Herramienta de implementación web 2.1"

在此处输入图片说明

It just worked for me.

Windows 10:

It uses Microsoft Wbe Deploy 4.0 . You can check if it's already installed in the Control panel > Applications.

If it's already installed, and you can't see the "Deploy" option in IIS, you need to reinstall it and, during the setup, choose the custom or full install, including the UI options . Perhaps you can do that by choosing repair or Change from the control panel.

According to MS, You should be able to download it from Web Platform Installer, but I only found versions up to 3.6. However, I found this link for an stand-alone installer for 4.0:

https://download.visualstudio.microsoft.com/download/pr/e1828da1-907a-46fe-a3cf-f3b9ea1c485c/035860f3c0d2bab0458e634685648385/webdeploy_amd64_en-us.msi

NOTE: I'm using an Spanish Windows, so the name of the options can be wrong. For anyone using a non-English Windows, there is only one installer, and you'll see the menus and options in your language (at least in Spanish).

尝试以管理员身份运行 IIS,您应该会看到“导入 Web 应用程序”选项和“导出 Web 应用程序”。

Download

http://go.microsoft.com/?linkid=9684516 (x86) http://go.microsoft.com/?linkid=9684517 (x64)

and during installation select Change option and enable IIS manager UI Module feature.

Just came here to say that @Guy Levy's steps above worked for me as well.

Thanks a lot.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM