Helicon Ape: registration fix
This commit is contained in:
parent
71fe43a30e
commit
f3932d59f5
2 changed files with 4 additions and 10 deletions
|
@ -2180,14 +2180,9 @@ namespace WebsitePanel.Providers.Web
|
||||||
WebSite webSite = null;
|
WebSite webSite = null;
|
||||||
using (ServerManager srvman = webObjectsSvc.GetServerManager())
|
using (ServerManager srvman = webObjectsSvc.GetServerManager())
|
||||||
{
|
{
|
||||||
//
|
// Helicon.Ape.ApeModule works for apps working in Integrated Pipeline mode
|
||||||
if (String.IsNullOrEmpty(siteId))
|
// Switch automatically to the app pool with Integrated Pipeline enabled
|
||||||
|
webSite = webObjectsSvc.GetWebSiteFromIIS(srvman, siteId);
|
||||||
|
|
||||||
// Helicon.Ape.ApeModule works for apps working in Integrated Pipeline mode
|
|
||||||
// Switch automatically to the app pool with Integrated Pipeline enabled
|
|
||||||
webSite = webObjectsSvc.GetWebSiteFromIIS(srvman, siteId);
|
|
||||||
//
|
|
||||||
if (webSite == null)
|
if (webSite == null)
|
||||||
throw new ApplicationException(
|
throw new ApplicationException(
|
||||||
String.Format("Could not find a web site with the following identifier: {0}.", siteId));
|
String.Format("Could not find a web site with the following identifier: {0}.", siteId));
|
||||||
|
|
|
@ -469,8 +469,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<asp:CheckBox ID="chkHeliconApeGlobalRegistration" runat="server" style="margin-left: -4px;"/>
|
<asp:CheckBox ID="chkHeliconApeGlobalRegistration" runat="server" style="margin-left: -4px;"/>
|
||||||
<br/>
|
(<asp:Label runat="server" AssociatedControlID="chkHeliconApeGlobalRegistration">Uncheck this box to enable managing Helicon Ape using hosting plan policies.</asp:Label>)
|
||||||
<asp:Label runat="server" AssociatedControlID="chkHeliconApeGlobalRegistration">Uncheck this box to enable managing Helicon Ape using hosting plan policies.</asp:Label>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue