trying to create website but unable to create and getting below error. pls help
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'ADD' task on 'domainname.com' 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)
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()
Hello,
The error is rather generic but with a path1 error i normally check if System / IIS Provider is set to the correct (and same) server.
In addition verify SolidCP has permissions to create the folder in the configured system path.
Regards,
Marco