0

Hello,

I am receiving an error when creating a website.

Running 1.4.4 on Server 2016, I can create a domain, FTP Accounts, Databases, etc, but when creating a website I get the following message from SolidCP:

System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. —> System.Exception: Error executing \’ADD\’ task on \’websitename.com\’ WEB_SITE —> System.Web.Services.Protocols.SoapException: Server was unable to process request. —> Could not create system user —> A constraint violation occurred.

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()

Event Viewer error

ERROR: \’Internet Information Services 10.0\’ CreateSite
System.Exception: Could not create system user —> System.DirectoryServices.DirectoryServicesCOMException: A constraint violation occurred.

at System.DirectoryServices.DirectoryEntry.CommitChanges()
at SolidCP.Providers.Utils.SecurityUtils.CreateUser(SystemUser user, RemoteServerSettings serverSettings, String usersOU, String groupsOU)
— End of inner exception stack trace —
at SolidCP.Providers.Web.IIs70.CreateWebSiteAnonymousAccount(WebSite site)
at SolidCP.Providers.Web.IIs70.CreateSite(WebSite site)
at SolidCP.Server.WebServer.CreateSite(WebSite site)

Any help is appreciated, thank you!

Jason

Answered question