tracker issue : CF-4205219

select a category, or use search below
(searches all categories and all time range)
Title:

CFObject in CF 2018 for calling a COM object

| View in Tracker

Status/Resolution/Reason: Open//

Reporter/Name(from Bugbase): LOUIS S. / ()

Created: 09/16/2019

Components: COM/DCOM

Versions: 2018

Failure Type: Non Functioning

Found In Build/Fixed In Build: newest /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Win 2016

Vote Count: 0

Problem Description:
When calling the activePDF toolkit dll using this:
<CFOBJECT ACTION=”Create” TYPE=”COM” CLASS=APToolkit.Object NAME=”TK”> I get this error:
An exception occurred when instantiating a COM object.
The cause of this exception was that: AutomationException: 0x80040154 – Class not registered.
Steps to Reproduce:
Tried it on 2 different servers.   Works fine with CF11, not in CF18
Actual Result:
It calls a CLSID
Expected Result:
After getting support from activePDF, we found that CF, when trying to load a COM object is looking at a path that doesn’t exist: D:\ColdFusion2018\cfusion\wwwroot\WEB-INF\exception\coldfusion\runtime\com and also this key: HKCR\WOW6432Node\CLSID\{F74F7C81-E3B7-4974-95C6-E487390CCE48} which is not one of their CLSIDs. 
Any Workarounds:
none yet

Attachments:

Comments: