diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config
index 3766094f..c48ebaf1 100644
--- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config
+++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Web.config
@@ -5,12 +5,21 @@
-
+
+
-
-
+
+
+
+
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/HostedSolutionLog.cs b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/HostedSolutionLog.cs
index 4ad0ce27..a7c1b656 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/HostedSolutionLog.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/HostedSolutionLog.cs
@@ -75,10 +75,8 @@ namespace WebsitePanel.Providers.HostedSolution
internal static void DebugInfo(string message, params object[] args)
{
-#if DEBUG
string text = String.Format(message, args);
Log.WriteInfo("{0} {1}", LogPrefix, text);
-#endif
}
internal static void EndLog(string message, ResultObject res, string errorCode, Exception ex)
diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/OrganizationProvider.cs b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/OrganizationProvider.cs
index 3b37a4df..30314ae5 100644
--- a/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/OrganizationProvider.cs
+++ b/WebsitePanel/Sources/WebsitePanel.Providers.HostedSolution/OrganizationProvider.cs
@@ -719,13 +719,14 @@ namespace WebsitePanel.Providers.HostedSolution
private bool DoesSamAccountNameExistInternal(string accountName)
{
HostedSolutionLog.LogStart("DoesSamAccountNameExistInternal");
- HostedSolutionLog.DebugInfo("userPrincipalName : {0}", accountName);
+ HostedSolutionLog.DebugInfo("sAMAccountName : {0}", accountName);
bool bFound = false;
try
{
string path = GetRootOU();
+ HostedSolutionLog.DebugInfo("Search path : {0}", path);
DirectoryEntry entry = ActiveDirectoryUtils.GetADObject(path);
DirectorySearcher searcher = new DirectorySearcher(entry);
@@ -737,16 +738,17 @@ namespace WebsitePanel.Providers.HostedSolution
if (resCollection != null)
{
if (resCollection.Properties["samaccountname"] != null)
- bFound = true; ;
+ bFound = true;
}
-
- HostedSolutionLog.LogEnd("GetSamAccountNameByUserPrincipalNameInternal");
}
catch (Exception e)
{
HostedSolutionLog.DebugInfo("Failed : {0}", e.Message);
}
+ HostedSolutionLog.DebugInfo("DoesSamAccountNameExistInternal Result: {0}", bFound);
+ HostedSolutionLog.LogEnd("DoesSamAccountNameExistInternal");
+
return bFound;
}
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/SiteSettings.config b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/SiteSettings.config
index 4fc71ff6..61256233 100644
--- a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/SiteSettings.config
+++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_Data/SiteSettings.config
@@ -3,7 +3,7 @@
WebsitePanel
- http://localhost:9002
+ http://localhost:9005
UserCulture
UserTheme