diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIS70/Handlers/HandlersModuleService.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIS70/Handlers/HandlersModuleService.cs index b1a86208..86dd2b1c 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIS70/Handlers/HandlersModuleService.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIS70/Handlers/HandlersModuleService.cs @@ -118,16 +118,16 @@ namespace WebsitePanel.Providers.Web.Handlers if (String.IsNullOrEmpty(processor)) return; // This section helps to overcome "legacy" issues - using (var srvman = GetServerManager()) - { - var config = srvman.GetWebConfiguration(virtualDir.FullQualifiedPath); - // - var handlersSection = config.GetSection(Constants.HandlersSection); - // Do a complete section cleanup - handlersSection.RevertToParent(); - // - srvman.CommitChanges(); - } + //using (var srvman = GetServerManager()) + //{ + // var config = srvman.GetWebConfiguration(virtualDir.FullQualifiedPath); + // // + // var handlersSection = config.GetSection(Constants.HandlersSection); + // // Do a complete section cleanup + // handlersSection.RevertToParent(); + // // + // srvman.CommitChanges(); + //} // using (var srvman = GetServerManager()) { diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIS70/IIs70.cs b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIS70/IIs70.cs index d34e3174..ef99e23f 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIS70/IIs70.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.Web.IIS70/IIs70.cs @@ -816,7 +816,7 @@ namespace WebsitePanel.Providers.Web mimeTypesSvc.SetMimeMaps(virtualDir); // Revert script mappings to the parent to simplify script mappings cleanup - handlersSvc.InheritScriptMapsFromParent(virtualDir.FullQualifiedPath); + //handlersSvc.InheritScriptMapsFromParent(virtualDir.FullQualifiedPath); // TO-DO: SCRIPT MAPS #region ASP script mappings