0
Creating a COM object with CF9 32-bit on Windows Server 2008 R2 64-bit machine
New Here
,
/t5/coldfusion-discussions/creating-a-com-object-with-cf9-32-bit-on-windows-server-2008-r2-64-bit-machine/td-p/5350886
Aug 24, 2013
Aug 24, 2013
Copy link to clipboard
Copied
I'm using a 32-bit version of CF9 and it's installed on a Windows Server 2008 R2 machine (64-bit). The problem I'm running into is that it won't allow me to create a COM object - it gives me the error, "no ntvinv in java.library.path null" when I try to run,
<cftry>
<cfobject type="COM" action="CONNECT" name="Engine" class="JRO.JetEngine">
<cfcatch type="Any">
<cfobject type="COM" action="CREATE" name="Engine" class="JRO.JetEngine">
</cfcatch>
</cftry>
Then when I run it a 2nd time, I get "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."
Can you help me?
TOPICS
Database access
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Have something to add?
Join the conversation

