Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Example of Cold Fusion 9 using a COM object?

Guest
Mar 07, 2012 Mar 07, 2012

We're not able to get COM of .NET objects working with Cold Fusion 9 and a third-party application. The vendor for the 3rd-party app has done some testing with their COM objects, as well as unrelated COM objects and they can't get any of them to work. This also matches our experience. Their hypothesis is that Cold Fusion 9 won't work with any COM objects. This seems surprising to me and I suspect that we are all implementing them incorrectly.

Can somebody provide an example implementation of CF9 with a COM (or .NET) object that we can test (preferably an implementation that is already tested to work). That will help us troubleshoot the source of the problem.

Our systems is Window 2008 server 64-bit. I don't know if the vendor is on the same O/S.

2.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Mar 07, 2012 Mar 07, 2012
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 07, 2012 Mar 07, 2012

Thanks for the information and references!

Is there a best practice for these circumstances? I see in the referenced information the possiblity of using 32-bit .NET and/or DCOM. I'm not the programmer for this so please excuse any uninformed statements.

We want to use CF9 on 64-bit Windows 2008 Server to display ActivePDF documents. Can somebody recommend how we can approach this? Meanwhile, I'll pass this on to the developers involved to see if the answer is evident to them from the referenced discussion.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Mar 07, 2012 Mar 07, 2012

A brief search suggests ActivePDF offers a .net wrapper. You might try using that instead.

    http://www.activepdf.com/corporate/news/pressreleases/NetRelease.cfm

   NetRelease.cfm

Hey.. the ActivePDF site runs CF. Nice 😉

Message was edited by: -==cfSearching==-

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 19, 2012 Mar 19, 2012

We too are experiencing the same issue with COM on 64-bit ColdFusion install on Win 2008 R2 (64-bit).  We've even tried connecting to COM through a Java proxy generated by J-Integra's 'com2java' utility (mapped via 'neo-comobjmap.xml') and still no luck.  Can someone at Adobe please give us a viable solution or at least explain as to why this is not being supported/fixed?  Going back to a 32-bit OS just doesn't seem like a good option for us.  Any help/answers would be greatly appreciated!  Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Mar 19, 2012 Mar 19, 2012

(These are user forums, so you will not get answers from adobe employees here.)

From what I understand it is due to jvm limitations.

       http://forums.adobe.com/message/4268918

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Mar 20, 2012 Mar 20, 2012

The solution is to do away with using COM objects; it's an old technology so no-one's bothering to put the hours into supporting it. In these days of not only .NET assemblies for Windows but also SOAP and webservices, there's not really much need for such a clunky old technology.

If you really rely on a COM object, I'd suggest looking into alternatives if there are any.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 22, 2012 Mar 22, 2012
LATEST

Okay, got it.  Thanks for the reply guys.  In a perfect world, this particular COM object we're relying on would not exist, but unfortunately, I have to make it work.  I had no choice but to use CFEXECUTE which calls a VB shell (cscript), then wrapped it in a web service component.  This hack, I can confirm, works.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources