bugfix: CheckLoadUserProfile() on IIS8
This commit is contained in:
parent
a7e191a748
commit
c6d1fe9549
3 changed files with 41 additions and 14 deletions
|
@ -3414,7 +3414,6 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
public static int GetPackageIdByName(string Name)
|
||||
{
|
||||
// get Helicon Zoo provider
|
||||
int packageId = -1;
|
||||
List<ProviderInfo> providers = ServerController.GetProviders();
|
||||
foreach (ProviderInfo providerInfo in providers)
|
||||
|
@ -3426,10 +3425,10 @@ namespace WebsitePanel.EnterpriseServer
|
|||
}
|
||||
}
|
||||
|
||||
if (-1 == packageId)
|
||||
{
|
||||
throw new Exception("Provider not found");
|
||||
}
|
||||
//if (-1 == packageId)
|
||||
//{
|
||||
// throw new Exception("Provider not found");
|
||||
//}
|
||||
|
||||
return packageId;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue