Fixed: Lync error => You are not allowed to access this package

This commit is contained in:
robvde 2012-10-08 18:40:03 +04:00
parent 79c851ef3b
commit 43e4d83457
2 changed files with 15 additions and 5 deletions

View file

@ -584,12 +584,12 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
if ((Packages != null) & (Packages.Count > 0)) if ((Packages != null) & (Packages.Count > 0))
{ {
orgs = ExchangeServerController.GetExchangeOrganizations(Packages[0].PackageId, false); orgs = ExchangeServerController.GetExchangeOrganizationsInternal(Packages[0].PackageId, false);
} }
} }
else else
{ {
orgs = ExchangeServerController.GetExchangeOrganizations(1, false); orgs = ExchangeServerController.GetExchangeOrganizationsInternal(1, false);
} }
int OrgId = -1; int OrgId = -1;

View file

@ -5,11 +5,21 @@
</configSections> </configSections>
<!-- Connection strings --> <!-- Connection strings -->
<connectionStrings> <connectionStrings>
<add name="EnterpriseServer" connectionString="Server=(local)\SQLExpress;Database=WebsitePanel;uid=sa;pwd=Password12" providerName="System.Data.SqlClient" /> <!--
<add name="EnterpriseServer" connectionString="server=HSTPROV01;database=WebsitePanelMerge;uid=WebsitePanel;pwd=aj7ep6fyhmw3b5qeth7c;" />
<add name="EnterpriseServer" connectionString="server=HSTWSP01;database=WebsitePanelMerge;uid=WebsitePanel;pwd=pserxfbnlc6hwmdedbp0;" providerName="System.Data.SqlClient" />
-->
<add name="EnterpriseServer" connectionString="server=HSTPROV01;database=WebsitePanelMerge;uid=WebsitePanel;pwd=aj7ep6fyhmw3b5qeth7c;" />
</connectionStrings> </connectionStrings>
<appSettings> <appSettings>
<!-- Encryption util settings --> <!-- Encryption util settings -->
<add key="WebsitePanel.CryptoKey" value="1234567890" /> <!--
<add key="WebsitePanel.CryptoKey" value="3x7eqt7zabc5n5afs6dg" />
<add key="WebsitePanel.CryptoKey" value="fr2ym4wn2gmbrj7dz336" />
-->
<add key="WebsitePanel.CryptoKey" value="3x7eqt7zabc5n5afs6dg" />
<!-- A1D4KDHUE83NKHddF --> <!-- A1D4KDHUE83NKHddF -->
<add key="WebsitePanel.EncryptionEnabled" value="true" /> <add key="WebsitePanel.EncryptionEnabled" value="true" />
<!-- Web Applications --> <!-- Web Applications -->