Skip to main content
Inspiring
April 15, 2008
Question

exception occured using a Com Method

  • April 15, 2008
  • 1 reply
  • 387 views
Server Product ColdFusion MX
Version 7,0,2,142559
Edition Standard
Serial Number CPD700-xxxxx-xxxx-xxxx
Operating System Windows 2003

I get the error message " An exception occurred when executing a Com method.
The cause of this exception was that: AutomationException: 0x800a004c - ."

I updated to 7.0.2 updater but I don't see that it fixed the issue. Has anyone else ran into this problem? If so, what was the fix?

The code I am using is listing a directory structure.


Thank you!!

Pauly
    This topic has been closed for replies.

    1 reply

    Inspiring
    April 15, 2008
    Here are some possible workarounds for calling COM objects in ColdFusion. I'm sorry that I don't have an answer for your specific error.

    1. To replace a COM object that lists a directory structure consider CFDIRECTORY.
    2. Wrap your COM calls in an ASP.NET web service then call the web service from ColdFusion.
    3. In CF8 you might wrap your COM calls in a .NET class then call the class using CFOBJECT.