Archived Forum Post

Index of archived forum posts

Question:

SQL Server 2016: Failed to create ActiveX component

Nov 10 '16 at 19:51

Hi,

we have a sql server 2016 64bit std (S.O. Windows Server 2012 std R2 x64) and we installed "Chilkat ActiveX 64 bit MSI Installer" for testing. The software is installed on server into "C:Program FilesChilkat Software, IncChilkat 64-bit ActiveX" and the CheckChilkatActiveX.exe return: " ChilkatLog: UnlockComponent: DllDate: Sep 17 2016 ChilkatVersion: 9.5.0.59 UnlockPrefix: NONE Architecture: Little Endian; 64-bit Language: ActiveX / x64 VerboseLogging: 0 component: Crypt unlockCode: Test regKeyUnlock: product: ChilkatCrypt hcCurDate: Fri, 11 Nov 2016 01:40:17 +0100 hcExpire: 12/2016 Component successfully unlocked using trial key --regKeyUnlock Success. --UnlockComponent --ChilkatLog " From sql server my stored procedure:

DECLARE @hr int DECLARE @sTmp0 nvarchar(4000) -- The mailman object is used for sending and receiving email. DECLARE @mailman int EXEC @hr = sp_OACreate 'Chilkat.MailMan2', @mailman OUT IF @hr <> 0 BEGIN print @hr PRINT 'Failed to create ActiveX component' RETURN END

when execute we obtain always error: " -2147221005 'Failed to create ActiveX component' " Any idea to solve the problem ? Thanks a lot.

Best regards, Max.