WSP : Error Update IIS7 Properties

Recently, we have come across some known issues in WebsitePanel (WSP) running in Windows 2008 64bits R2 edition. Changes cannot be save inside WSP Website Properties and is throwing the following error:

Stack Trace: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. —> System.Exception: Error executing ‘UPDATE’ task on ‘test.com’ WEB_SITE —> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. —> System.NullReferenceException: Object reference not set to an instance of an object.
at WebsitePanel.Providers.Web.IIs70.SetWebSiteApplicationPool(WebSite site, Boolean createAppPools)
at WebsitePanel.Providers.Web.IIs70.UpdateSite(WebSite site)
at WebsitePanel.Server.WebServer.UpdateSite(WebSite site)
— 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 WebsitePanel.Providers.Web.WebServer.UpdateSite(WebSite site)
at WebsitePanel.EnterpriseServer.WebServerController.UpdateWebSite(WebSite site)
— End of inner exception stack trace —
at WebsitePanel.EnterpriseServer.WebServerController.UpdateWebSite(WebSite site)
at WebsitePanel.EnterpriseServer.esWebServers.UpdateWebSite(WebSite site)
— End of inner exception stack trace —

The solution we have managed to come across is to make sure the hosting spaces / plans which are created to have .Net enabled. If this does not work for you, please feel free to share your thaught.

Share With Us About Your Thoughts....