diff --git a/WebsitePanel.Installer/Sources/WebsitePanel.Setup/Common/WebUtils.cs b/WebsitePanel.Installer/Sources/WebsitePanel.Setup/Common/WebUtils.cs index c3a92a05..d7566462 100644 --- a/WebsitePanel.Installer/Sources/WebsitePanel.Setup/Common/WebUtils.cs +++ b/WebsitePanel.Installer/Sources/WebsitePanel.Setup/Common/WebUtils.cs @@ -864,12 +864,13 @@ namespace WebsitePanel.Setup ServerManager serverManager = new ServerManager(); ApplicationPool pool = serverManager.ApplicationPools.Add(name); - if (!String.IsNullOrEmpty(username)) - { - pool.ProcessModel.IdentityType = ProcessModelIdentityType.SpecificUser; - pool.ProcessModel.UserName = username; - pool.ProcessModel.Password = password; - } + if (!String.IsNullOrEmpty(username)) + { + pool.ProcessModel.IdentityType = ProcessModelIdentityType.SpecificUser; + pool.ProcessModel.UserName = username; + pool.ProcessModel.Password = password; + pool.ProcessModel.LoadUserProfile = true; + } else { pool.ProcessModel.IdentityType = ProcessModelIdentityType.NetworkService; @@ -961,6 +962,7 @@ namespace WebsitePanel.Setup pool.ProcessModel.IdentityType = ProcessModelIdentityType.SpecificUser; pool.ProcessModel.UserName = username; pool.ProcessModel.Password = password; + pool.ProcessModel.LoadUserProfile = true; } else {