System.ArgumentNull...
 
Notifications
Clear all

System.ArgumentNullException: Value cannot be null.

9 Posts
2 Users
0 Reactions
3,006 Views
Posts: 5
Topic starter
(@iforced)
Active Member
Joined: 8 years ago

i Got this error when creating a website, any ideas ?

 

System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'ADD' task on '' WEB_SITE ---> System.ArgumentNullException: Value cannot be null.
Parameter name: path1
at System.IO.Path.Combine(String path1, String path2)
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)
--- 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()

8 Replies
Posts: 5
Topic starter
(@iforced)
Active Member
Joined: 8 years ago

hmmm. it works when i have a testaccount on the ' webhosting hosting plan'

To clarify, i have a 'webhosting Hosting plan, i recently made a mail only hosting plan for a customer. He wants a website now, so i made an addon with webhosting. That does not work

Reply
Posts: 1964
Admin
(@m-tiggelaar)
Noble Member
Joined: 8 years ago

Hello,

It appears to have issues with the website path which is determened by the System service in the hosting plan.

Can you verify the System service is on the same server as the web service?

Regards,

Marco

Reply
Posts: 5
Topic starter
(@iforced)
Active Member
Joined: 8 years ago

yes, everything is on the same server

Reply
Posts: 1964
Admin
(@m-tiggelaar)
Noble Member
Joined: 8 years ago

If it's all on the same server, your hosting plan has system space added and system space has the correct file path configured generally it then only leaves permissions, however by default solidcp server has Administrator rights locally which should be enough unless priveledges are customized.

Reply
Page 1 / 2
Share: