diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/IIS70_Settings.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/IIS70_Settings.ascx.cs index c414927e..ba4737f3 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/IIS70_Settings.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/IIS70_Settings.ascx.cs @@ -275,7 +275,12 @@ namespace WebsitePanel.Portal.ProviderControls // Helicon Ape bool registerHeliconApeGlobbally = chkHeliconApeGlobalRegistration.Checked; - if (registerHeliconApeGlobbally != (bool)ViewState["HeliconApeInitiallyEnabled"]) + + bool bHeliconApeInitiallyEnabled = false; + if (ViewState["HeliconApeInitiallyEnabled"] != null) + bHeliconApeInitiallyEnabled = (bool)ViewState["HeliconApeInitiallyEnabled"]; + + if (registerHeliconApeGlobbally != bHeliconApeInitiallyEnabled) { if (registerHeliconApeGlobbally) {