Are you on a 64-bit OS? They don't support COM.
On 7/16/12 12:28 AM, Megha Kolpyakwar wrote: > hi > Wwhen I try to use cfobject for code it gives an error > <cfobject action="CREATE" class="#Attributes.ProgId#" type="COM" > name="XMLDoc"> > > > > The error message is > > > 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 using coldfusion 8. Also verified that i am using 64-bit Java VM. > Any pointers in this direction will be helpful > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:351896 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

