Does com even work in the 64 bit CF environment? Last time I had to deal with it, it didn't.
Eric -----Original Message----- From: Russ Michaels [mailto:[email protected]] Sent: Wednesday, December 04, 2013 10:22 AM To: cf-talk Subject: Re: An exception occurred when instantiating a COM object. even though cf is 32bit, you are still using a 32bit com object on a 64bit os, which is your problem. try this http://www.gfi.com/blog/32bit-object-64bit-environment/ On Wed, Dec 4, 2013 at 3:23 PM, Shiny Star <[email protected]> wrote: > > Hello All, > > I am getting below error, when trying to initiate COM object. > > <cfobject type="COM" action="create" context="INPROC" > class="ASIUtil.CCrypto" name="Crypto"> > > An exception occurred when instantiating a COM object. > The cause of this exception was that: java.lang.RuntimeException: Can > not use native code: Initialisation failed. > > I am running CF9.02 32 bit on 64 bit Win OS. > > Registered ASIUtil.DLL successfully. > Enabled 32 bit applications to TRUE in IIS manager - Application > defaults Enabled Registered TypeViewer.dll inside C:\ColdFusion9\lib & > tried. Not fixed. > > Server Product ColdFusion > Version 9,0,2,282541 > Edition Standard > Operating System Windows Server 2008 R2 OS Version 6.1 Adobe Driver > Version 4.1 (Build 0001) > > Thanks in advance > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357286 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

