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

asp.netIisDeploymentWebdeployMicrosoft Web-Deploy

asp.net Problem Overview


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.

asp.net Solutions


Solution 1 - asp.net

I had the exact same problem, it turned out I had installed Web Deploy 3.6 on top of 3.5. Remove Web Deploy 3.6 and reinstall 3.5 and see if it solves your issue.

You can also try @james-wilkins comment below: "In my case I installed Web Deploy BEFORE installing the management service..."

Solution 2 - asp.net

Uninstall and then re-install Web Deploy.

This fixed the problem for me -- the 'repair' option in the installer did not.

Solution 3 - asp.net

In my case, I installed Web Deploy BEFORE installing the management service. I tried to do a "change" on the install to include the management service (or you can add the feature from add/remove windows features), but that didn't help (got the error on this post). In the end, a simple uninstall and reinstall of 3.6 was what worked for me. Seems it needs the Web Management Service to be installed FIRST. Typical MS instructions don't even mention this at all.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionlucamuhView Question on Stackoverflow
Solution 1 - asp.netcederlofView Answer on Stackoverflow
Solution 2 - asp.netpeteroView Answer on Stackoverflow
Solution 3 - asp.netJames WilkinsView Answer on Stackoverflow