Error: "The configuration section 'system.webServer/management/delegation' cannot be read because it is missing schema

I am trying to publish a website from my computer to an IIS web server via web deploy.

I have 3 servers. All servers have installed the same things (Webdeploy etc.) and the services are started (Web Deployment Agent Service and Web Management Service).

On the first server I have no problems on connecting. But the other two servers give me some error when I "Validate Connection" in Visual Studio to the IIS. When I look at the logs on the IIS server, there are my accesses listet with html code 200 (ok).

An error ocurred when the request was processed on the remote computer. Filename: MACHINE/WEBROOT

Error: The configuration section 'system.webServer/management/delegation' cannot be read because it is missing schema

I really have no idea what could solve this problem and hope you are able to help me.

25857 次浏览

我也有同样的问题,原来我在3.5之上安装了 Web Deploy 3.6。删除 Web Deploy 3.6并重新安装3.5,看看它是否解决了您的问题。

您也可以尝试@james-wilkins 注释如下: “在我的例子中,我在安装管理服务之前安装了 Web Deploy...”

卸载并重新安装 Web 部署。

这为我解决了问题——安装程序中的“修复”选项没有解决问题。

在我的例子中,我在安装管理服务之前安装了 WebDeploy。我尝试在安装中做一个“更改”,以包含管理服务(或者您可以通过添加/删除 Windows 特性来添加这个特性) ,但是这没有帮助(在这篇文章中得到了错误)。最后,一个简单的卸载和重新安装的3.6是什么为我工作。似乎需要先安装 Web 管理服务。典型的 MS 指令根本没有提到这一点。