hmail server error ...
 
Notifications
Clear all

hmail server error after upgrade to 1.2


giuppy
Posts: 3
Topic starter
(@giuppy)
New Member
Joined: 6 years ago

Hi

I just upgraded to version 1.2 and I am getting the following error:

[4/12/2017 1007 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

4 Replies
Ric
Posts: 60
 Ric
(@ric)
Trusted Member
Joined: 6 years ago

What are you doing that causes this error?  Create or delete mailbox/list/group etc?  or modifying an existing attribute?

Reply
Ric
Posts: 60
 Ric
(@ric)
Trusted Member
Joined: 6 years ago

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.

Reply
Marco Tiggelaar
Posts: 1958
Admin
(@m-tiggelaar)
Contributor
Joined: 6 years ago

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

Reply
giuppy
Posts: 3
Topic starter
(@giuppy)
New Member
Joined: 6 years ago

Hi Marco,

It was a permission issue on the activex activization.

Thanks!

Reply
Share: