Error when saving I...
 
Notifications
Clear all

Error when saving IIS service if Web Deploy installed

3 Posts
2 Users
0 Reactions
4,174 Views
Posts: 105
 Ben
Topic starter
(@maoxiong)
Estimable Member
Joined: 7 years ago

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.

2 Replies
Posts: 105
 Ben
Topic starter
(@maoxiong)
Estimable Member
Joined: 7 years ago

Forgot to add, if you remove Web Deploy (I have it disabled) - you get the following error in the System Logs:

 

[12/12/2017 8:07:04 PM] ERROR: Could not retrieve Web Deploy key from the registry
System.NullReferenceException: Object reference not set to an instance of an object.
   at SolidCP.Providers.Web.IIs70.IsWebDeployInstalled()
Reply
Posts: 1995
Admin
(@m-tiggelaar)
Noble Member
Joined: 9 years ago

Hello,

the first error is actually an issue with iis it self.

It indicates your iis config file is incorrect.

You can try the web deploy 3.6 hosting edition which should work fine.

optionally you can also manually check the iis config file and repair the missing sections.

Regards,

Marco

Reply
Share: