Unable to Create New Domain
Problem reported by Doug Lim - 8/29/2015 at 11:47 PM
Submitted
I am unable to create a new domain on our SmarterMail server. I just updated to version 14.2.5711 and I am still unable to create a new domain. I get a message at top of the window: "Failed to add domain <domain-name>". We have the Enterprise Edition and we currently only have 92 out of 250 licensed mailboxes. I was not able to find anything in the Knowledge Base or previous forum posts that talks about this particular error when trying to create a new domain on the server.

6 Replies

Reply to Thread
0
Bruce Barnes Replied
Did you check the ERROR logs?
 
They'll need to be set to detailed, so, if they're not, change that setting and then try to re-add the new domain.
 
If you still don't have anything to go on, then try cycling the SmarterMail SERVICE as the server Administrator, from within Windows services.
 
Failing the resolution of the issue being resolved after bouncing the SmarterMail service, try uninstalling, rebooting the server (to unlock any locked files), and reinstalling SmarterMail.  So long as you install using the same path as the original installation, no settings or data will be lost.
Bruce Barnes
ChicagoNetTech Inc
brucecnt@comcast.net

Phonr: (773) 491-9019
Phone: (224) 444-0169

E-Mail and DNS Security Specialist
Network Security Specialist

Customer Service Portal: https://portal.chicagonettech.com
Website: https://www.ChicagoNetTech.com
Security Blog: http://networkbastion.blogspot.com/

Web and E-Mail Hosting, E-Mail Security and Consulting
0
Doug Lim Replied
I uninstalled, rebooted, and reinstalled and tried to create the domain. I'm still getting the following error when trying to create the new domain.
 
[2015.08.31] [CurrentUser: admin@]
[2015.08.31] [8/31/2015 12:43:07 AM]
[2015.08.31] <webmail-host>/SystemAdmin/frmDomain.aspx?popup=true
[2015.08.31] 
[2015.08.31] System.Exception: Failed to add the domain.
[2015.08.31] 
[2015.08.31] Server stack trace: 
[2015.08.31]    at MailService.Remoting.Mail.AddDomain(String sessionStr, DomainData domainData)
[2015.08.31]    at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
[2015.08.31]    at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
[2015.08.31] 
[2015.08.31] Exception rethrown at [0]: 
[2015.08.31]    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
[2015.08.31]    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
[2015.08.31]    at SmarterMail.RemoteInterface.IMail.AddDomain(String sessionStr, DomainData domainData)
[2015.08.31]    at SMWeb.HelperClasses.RemoteWrapper.<>c__DisplayClassea.<AddDomain>b__e9(String sessionStr)
[2015.08.31]    at SMWeb.HelperClasses.RemoteWrapper.SessionCallWithConnection(UserData usr, Action`1 f)
[2015.08.31]    at SMWeb.HelperClasses.RemoteWrapper.AddDomain(UserData usr, DomainData domain)
[2015.08.31]    at SMWeb.SystemAdmin.frmDomain.SaveNewDomain()
[2015.08.31] failed to add domain
 
0
Hemen Shah Replied
Post upgrade have you checked if your SM license is proper activated and your current install is not running under FREE edition ?
 
Thanks
0
Doug Lim Replied
Yes. I did check the self-test - that was the first thing I did. The license is active and plenty of mailboxes available (90 out of 250 used). Actually checked on both the Licensing page and the self-diagnostic page.
1
Employee Replied
Employee Post
Hi Doug.  Sorry to hear you're experiencing this issue.  This is certainly not typical behavior that I'm aware of.  While this may require a support ticket for us to troubleshoot, can I have you make sure that the Network Service is running your SmarterMail application pool in IIS, and that it has full control over these following folders:
C:\Program Files (x86)\SmarterTools\SmarterMail\MRS
C:\Windows\Temp
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files
 
0
Doug Lim Replied
Does any of that change for Windows Server 2012/IIS 8?

I had to add access for NETWORK SERVICE to those folders, and the SmarterMail application pool has its Identity set to ApplicationPoolIdentity.

Reply to Thread