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;
|
||||
using (ServerManager srvman = webObjectsSvc.GetServerManager())
|
||||
{
|
||||
//
|
||||
if (String.IsNullOrEmpty(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);
|
||||
//
|
||||
// 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)
|
||||
throw new ApplicationException(
|
||||
String.Format("Could not find a web site with the following identifier: {0}.", siteId));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue