Unable to create a ...
 
Notifications
Clear all

Unable to create a website from SolidCP

3 Posts
2 Users
0 Reactions
12 Views
Posts: 7
 Brad
Topic starter
(@techsupport)
Active Member
Joined: 5 years ago

Hello, 

I am getting below error when trying to create a website from SolidCP. After the error website and folder gets created in SolidCP but it does not show in SolidCP. 

Also when I try to import the website it shows Can not copy website files and nothing happens.

 

Page URL: http://*.*.*.*:9001/Default.aspx?pid=SpaceWebSites&mid=82&ctl=add_site&SpaceID=67
Logged User: support_admin
Work on Behalf: ***
Hosting Space: 67
Stack Trace: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'ADD' task on '****.com' WEB_SITE ---> System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Filename: \\?\C:\HostingSpaces\\****.com\wwwroot\web.config
Error: Cannot write configuration file due to insufficient permissions

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

2 Replies
Posts: 2008
Admin
(@m-tiggelaar)
Noble Member
Joined: 10 years ago

Hello,

The error is about the in-ability to create the web.config.

From the error i would check the file location configurations and make sure the SolidCP Server user has priveledges to write to that location.

This can be found in Configuration --> Servers --> System under "Service settings"

If your using Virtual Servers make sure the System service is the same server as the IIS service.

Regards,

Marco

Reply
Posts: 7
 Brad
Topic starter
(@techsupport)
Active Member
Joined: 5 years ago

Hello Marco,

 

The SolidCP is integrated with 2 webservers, and this issue is only with one server. I have confirmed the both server has same permissions on Configuration --> Servers --> System under "Service settings" which is %SYSTEMDRIVE%\HostingSpaces. 

 

Below are the permissions set for the folder. 

ON this server website creation fails. 

Path : Microsoft.PowerShell.Core\FileSystem::C:\HostingSpaces
Owner : BUILTIN\Administrators
Group : SOFTSERV678\None
Access : NT AUTHORITY\SYSTEM Allow FullControl
BUILTIN\Administrators Allow FullControl
CREATOR OWNER Allow FullControl
BUILTIN\Users Allow ReadAndExecute, Synchronize
BUILTIN\Users Allow AppendData, Synchronize
BUILTIN\Users Allow CreateFiles, Synchronize
Audit :
Sddl : O:BAG:S-1-5-21-1169900206-4194863083-94193332-513D:AI(A;OICIID;FA;;;SY)(A;OICIID;FA;;;BA)(A;OICIIOID;FA;;;CO)(A;OI
CIID;0x1200a9;;;BU)(A;CIID;0x100004;;;BU)(A;CIID;0x100002;;;BU)

ON this server it works.

 

PS C:\Windows\system32> Get-Acl C:\HostingSpaces | Format-List

Path : Microsoft.PowerShell.Core\FileSystem::C:\HostingSpaces
Owner : BUILTIN\Administrators
Group : SOFTSERVOLD11\None
Access : NT AUTHORITY\SYSTEM Allow FullControl
BUILTIN\Administrators Allow FullControl
BUILTIN\Users Allow ReadAndExecute, Synchronize
BUILTIN\Users Allow AppendData
BUILTIN\Users Allow CreateFiles
CREATOR OWNER Allow 268435456
Audit :
Sddl : O:BAG:S-1-5-21-3583076750-731690953-775554498-513D:AI(A;OICIID;FA;;;SY)(A;OICIID;FA;;;BA)(A;OICIID;0x1200a9;;;
BU)(A;CIID;LC;;;BU)(A;CIID;DC;;;BU)(A;OICIIOID;GA;;;CO)

Thanks,

 

 

 

Reply
Share: