Error Creating Webs...
 
Notifications
Clear all

Error Creating Website

3 Posts
2 Users
0 Reactions
1,068 Views
Posts: 8
Topic starter
(@jjh082571)
Active Member
Joined: 9 years ago

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

2 Replies
Posts: 1487
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

Can you confirm that the SolidCP Server app pool user had administrator rights on the local machine? If a domain is used it also needs to be an AD account with Domain admin.

Regards,

Trevor

Reply
Posts: 8
Topic starter
(@jjh082571)
Active Member
Joined: 9 years ago

Hi Trevor,

Yes, app pool user has local admin rights and is also a domain account, domain account is a member of domain admins, domain users and IIS_IUSRS.

Thanks for all your hard work!

Jason

Reply
Share: