English 中文(简体)
电子邮件服务器快递11.5 服务器APi : Unable toload DL Imailsec.dll: 工作无效
原标题:Imail Server Express 11.5 Server APi for .Net : Unable to load DLL IMailsec.dll : The handle is invalid

我正在用IMAIl服务器APIC(IMAIl)发送11.5 express。 净额

我使用以下法典:

        Dim DomData As New DomainData()
        DomData.Aliases = "TestALias"

        DomData.HostName = "TestImailDomain.com"
        DomData.TopDir = IMailAPI_NET.IMailSystem.TopDir & "TestImailDomain.com"
        DomData.UserDBType = DomainData.DBTYPES.IMail
        DomData.UserDB = "TestUserDB"

        DomData.IPAddress = "192.168.1.12"
        DomData.IMEnabled = True
        DomData.MaxSize = 100
        DomData.MaxOutboundSize = 100
        DomData.MaxSingleMessageSize = 100
        DomData.MaxMsgs = 20
        DomData.MaxUsers = 0
        DomData.AllowedLoginAttempts = 20
        DomData.AllowedLoginLockouts = 10
        DomData.DefaultWebReqPwdLevel = 0

        DomData.SaveHost(True)

我发现以下错误(在通过电子邮件生成的一张皮记录中):

9/30/2011 - 10:47 AM : Error : IMailAPI_NET.DomainData.SaveHost-2 : Unable to load DLL IMailsec.dll : The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))

请提出咨询意见。

感谢。

问题回答

与此类似,你将ImailAPI_NET.dll作为项目依赖者,但视频演播室没有复制ImailAPI_NET.dll的附属物品。

I would recommend copying the following files from IMail into your project s binary directory: imailsec.dll, mailbox.dll and IpswitchLicense.dll





相关问题
Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How do I compare two decimals to 10 decimal places?

I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....

Exception practices when creating a SynchronizationContext?

I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...

Show running instance in single instance application

I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签