Create Website Erro...
 
Notifications
Clear all

Create Website Error: Could not find a part of the path

4 Posts
3 Users
0 Reactions
1,295 Views
Posts: 8
Topic starter
(@managemy)
Member
Joined: 8 years ago

Server 2012 R2, CP 1.1.1

When I click create website and select the domain I get the following error

System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'ADD' task on 'testdomain.net' WEB_SITE ---> System.Exception: Error executing 'ADD' task on 'testdomain.net' WEB_SITE ---> System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Could not find a part of the path 'C:HostingSpacesPaul1testdomain.netwwwrootdefault.aspx'.
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.FilesController.UpdateFileBinaryContent(Int32 packageId, String path, Byte[] content)
--- End of inner exception stack trace ---
at SolidCP.EnterpriseServer.FilesController.UpdateFileBinaryContent(Int32 packageId, String path, Byte[] content)
at SolidCP.EnterpriseServer.WebServerController.AddWebSite(Int32 packageId, String hostName, Int32 domainId, Int32 packageAddressId, Boolean addInstantAlias, Boolean ignoreGlobalDNSRecords)
--- End of inner exception stack trace ---

When I check on the IIS server in hostingspaces the folder has not been created

3 Replies
Posts: 1457
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

 

Can you confirm if the SolidCP server user is in the local Administrators group and is able to write to the HostingSpaces folder?

 

Thanks,

 

Trevor Robinson

Reply
Posts: 8
Topic starter
(@managemy)
Member
Joined: 8 years ago

Hi Trevor.

Yes the user is there and can write to the dir.  Interestingly it seems to set the dir's up fine and I can just click back and all works.  This does not happen though if I tick create wensite at the same time as I add the hosting plan.  Only if I come back later and try to add the website

Reply
Posts: 40
(@king-dude)
Eminent Member
Joined: 8 years ago

Hi,

I had the same error and it was because i added a MSSQL server or MAIL server to my hosting plan and i included the service "System" for those servers in my virtual server.

So after removing those services from my Virtual server, everything works fine.

(I still have system service on my webservers)

Regards.

Pelle

Reply
Share: