Unable to create email alias from WebsitePanel
« on: August 08, 2013, 12:07:12 PM »
Hi,

You may receive the following error while creating an email alias from WebsitePanel:

Page URL: http://IP:9001/Default.aspx?pid=SpaceMailForwardings&mid=86&ctl=edit_item&SpaceID=50
Logged User: myuser
Work on Behalf: myuser
Hosting Space: 50
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 'mail@mydomain.com' MAIL_FORWARDING ---> System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Could not check whether mail alias exists ---> Object reference not set to an instance of an object.
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.Providers.Mail.MailServer.MailAliasExists(String mailAliasName)
at WebsitePanel.EnterpriseServer.MailServerController.AddMailForwarding(MailAlias item)
--- End of inner exception stack trace ---
at WebsitePanel.EnterpriseServer.MailServerController.AddMailForwarding(MailAlias item)
--- 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.esMailServers.AddMailForwarding(MailAlias item)
at WebsitePanel.Portal.MailForwardingsEditForwarding.SaveItem()

Generally this happens if you have upgraded your Mail server version. Since there is no option to edit provider from WebsitePanel, you will need to update it directly from database. For the step-by-step guideline, please refer our following blog post:

http://blog.webhostingdiscussion.net/websitepanel/websitepanel-error-mail-alias-exists.htm

Kailash