I just upgraded to the latest version (1.4.2) and am attempting to create a website for the first time since the upgrade ... I am getting the following error shown below.
Help, please!
-Ben
StackTrace:
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'ADD' task on '[REDACTED]' WEB_SITE ---> System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Could not create system user ---> System.Runtime.InteropServices.COMException: The group name could not be found.
at System.DirectoryServices.DirectoryEntries.Find(String name, String schemaClassName)
at SolidCP.Providers.Utils.SecurityUtils.CreateUser(SystemUser user, RemoteServerSettings serverSettings, String usersOU, String groupsOU)
--- End of inner exception stack trace ---
at SolidCP.Providers.Utils.SecurityUtils.CreateUser(SystemUser user, RemoteServerSettings serverSettings, String usersOU, String groupsOU)
at SolidCP.Providers.Web.IIs70.CreateWebSiteAnonymousAccount(WebSite site)
at SolidCP.Providers.Web.IIs70.CreateSite(WebSite site)
at SolidCP.Server.WebServer.CreateSite(WebSite site)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.Providers.Web.WebServer.CreateSite(WebSite site)
at SolidCP.EnterpriseServer.WebServerController.AddWebSite(Int32 packageId, String hostName, Int32 domainId, Int32 packageAddressId, Boolean addPreviewDomain, Boolean ignoreGlobalDNSRecords)
--- End of inner exception stack trace ---
at SolidCP.EnterpriseServer.WebServerController.AddWebSite(Int32 packageId, String hostName, Int32 domainId, Int32 packageAddressId, Boolean addPreviewDomain, Boolean ignoreGlobalDNSRecords)
at SolidCP.EnterpriseServer.esWebServers.AddWebSite(Int32 packageId, String hostName, Int32 domainId, Int32 ipAddressId, Boolean ignoreGlobalDNSZone)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.EnterpriseServer.esWebServers.AddWebSite(Int32 packageId, String hostName, Int32 domainId, Int32 ipAddressId, Boolean ignoreGlobalDNSZone)
at SolidCP.Portal.WebSitesAddSite.AddWebSite()
While it was difficult to determine the problem without more concrete information from the error, or the course code to see the actual problem, I continued digging. Luckily, I figured it out and I am posting my solution here in case anyone else has this problem.
I do not know how, or if this was a new thing added to v1.4.2 that did not exist in v1.4.1 and the "Manual Upgrade" instructions did not mention it. But I was missing a Group Role in my Windows machine called "SCP_IUSRS". Once I created that role, the creation of the website worked.
At the time of this posting, I do not know what permissions this role needs, but creating the role allowed me to continue creating my website error free.
-Ben