Create a website error :: System.Exception: Error executing 'ADD' task on 'demo.com' WEB_SITE

Sometimes we receive an error message when we try to create a website from WebsitePanel. The error message should be like.


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 'demo.com' WEB_SITE ---> System.NullReferenceException: Object reference not set to an instance of an object at WebsitePanel.EnterpriseServer.WebServerController.AddWebSite(Int32 packageId, Int32 domainId, Int32 packageAddressId, Boolean addInstantAlias) --- End of inner exception stack trace --- at WebsitePanel.EnterpriseServer.WebServerController.AddWebSite(Int32 packageId, Int32 domainId, Int32 packageAddressId, Boolean addInstantAlias) at WebsitePanel.EnterpriseServer.ServerController.AddDomainWithProvisioning(Int32 packageId, String domainName, DomainType domainType, Boolean createWebSite, Int32 pointWebSiteId, Int32 pointMailDomainId, Boolean createDnsZone, Boolean createInstantAlias, Boolean allowSubDomains) --- 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 WebsitePanel.EnterpriseServer.esServers.AddDomainWithProvisioning(Int32 packageId, String domainName, DomainType domainType, Boolean createWebSite, Int32 pointWebSiteId, Int32 pointMailDomainId, Boolean createDnsZone, Boolean createInstantAlias, Boolean allowSubDomains) at WebsitePanel.Portal.DomainsAddDomain.AddDomain() 

Cause


Sometimes when we create a website from WebsitePanel, synchronization between WebsitePanel and IIS web server breaks when the process is running. As a result, website will be created on server but did not complete the process so, we receive the error message at WebsitePanel.


Solution


Removing the website from IIS and recreating it from WebsitePanel should fix this issue. Windows VPS customers have administrative access over IIS so that they can remove website from IIS themselves. Shared Hosting customers can initiate the ticket from client area to get it fixed.


  • 13 Users Found This Useful

Was this answer helpful?

Related Articles

How to add scheduled task from WebsitePanel?

This article will guide you on how to add a scheduled task from WebsitePanel. Follow the below...

How to assign permissions to a particular folder/file from WebsitePanel?

Here are the steps to assign Permission to a particular Folder/File from WebsitePanel: Login...

How to create secured folders/password protected directory from WebsitePanel?

Following article will provide you the step by step guidance on how to create Secured Folders in...

How to enable/view statistics of your website?

You can enable Awstats Statistics for your website using the following steps: Login to your...

How to Create Mail Groups Using WebsitePanel?

With Windows Shared Hosting plans, you are allowed to create 50 mail groups with 20 recipients...