0

Win 2012 / IIS8

If “Web Deploy” (3.5 or 3.6 – no difference) is installed, when you go to save the IIS service, you will get the following error:

System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. —> System.Runtime.InteropServices.COMException: Filename: \?C:Windowssystem32inetsrvconfigadministration.config 
Error: The configuration section ‘system.webServer/management/delegation’ cannot be read because it is missing a section declaration 

at Microsoft.Web.Administration.Interop.AppHostWritableAdminManager.GetAdminSection(String bstrSectionName, String bstrSectionPath) 
at Microsoft.Web.Administration.Configuration.GetSectionInternal(ConfigurationSection section, String sectionPath, String locationPath) 
at SolidCP.Providers.Web.Delegation.DelegationRulesModuleService.HasDelegationSection(Configuration adminConfig) 
at SolidCP.Providers.Web.Delegation.DelegationRulesModuleService.RemoveDelegationRule(String providers, String path) 
at SolidCP.Providers.Web.IIs70.SetupWebDeployPublishingOnServer(List`1 messages) 
at SolidCP.Providers.Web.IIs70.Install() 
at SolidCP.Providers.Web.IIs80.Install() 
at SolidCP.Server.ServiceProvider.Install() 
— End of inner exception stack trace — 
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) 
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) 
at SolidCP.Providers.ServiceProvider.Install() 
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) 
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) 
at SolidCP.EnterpriseServer.esServers.InstallService(Int32 serviceId) 
at SolidCP.Portal.ServersEditService.btnUpdate_Click(Object sender, EventArgs e)

Removing Web Deploy makes the error go away.