Missing “Import Web Application” option in Web Deploy 3.6

女生的网名这么多〃 提交于 2019-12-17 22:34:27

问题


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?


回答1:


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)




回答2:


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.




回答3:


Try to run IIS as administrator and you should see the Import Web Application" option and The "Export Web Application".




回答4:


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.



来源:https://stackoverflow.com/questions/41386690/missing-import-web-application-option-in-web-deploy-3-6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!