Hi
I just upgraded to version 1.2 and I am getting the following error:
[4/12/2017 10:28:07 AM] ERROR: Couldn't create hMailServer.Application Domain ActiveX object. System.Exception: Cannot create ActiveX component. at Microsoft.VisualBasic.Interaction.CreateObject(String ProgId, String ServerName) at SolidCP.Providers.Mail.hMailServer5.get_hMailServer() at SolidCP.Providers.Mail.hMailServer5.GetDomainObject(String domainName)
while from the portal I get this:
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at SolidCP.EnterpriseServer.MailServerController.GetMailAccount(Int32 itemId)
at SolidCP.EnterpriseServer.esMailServers.GetMailAccount(Int32 itemId)
--- 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.esMailServers.GetMailAccount(Int32 itemId)
at SolidCP.Portal.MailAccountsEditAccount.BindItem()
Do you have some idea how to fix it?
Thanks, Giuseppe
What are you doing that causes this error? Create or delete mailbox/list/group etc? or modifying an existing attribute?
For info I run hMailServer 5.6.6 b2383 with a MySQL (5.7.17) databases and MySQL NET Connector 6.9.9 and everything seems to work on SCP v1.2.
Hello,
I saw this: Couldn’t create hMailServer.Application Domain ActiveX object. System.Exception: Cannot create ActiveX component
before on a Merak mail provider, back then the issue had to do with the ActiveX objects on the server (which can vary with 32 bit / 64 bit and .net framework).
You can try to track the component on your server make sure it's there.. it's a tricky one to solve last time i saw it.
Regards,
Marco
Hi Marco,
It was a permission issue on the activex activization.
Thanks!