Skip navigation
tgfactor
Currently Being Moderated

ColdFusion, Windows Server 2008, Fax Issue

May 14, 2012 3:02 PM

Tags: #64-bit #coldfusion #windows_2008_server #cf8 #cfobject #faxes

We have been using 32-bit ColdFusion 8 on a 32-bit Windows Server 2003 machine.  Through this system, we have been able to send faxes by instantiating a FaxServer COM object via a cfobject call.  Up until now, we have not had any problems with this.

 

Now, we are continuing on ColdFusion 8, but we are installing a 64-bit version of CF8 on a new box that has Windows Server 2008, also 64-bit.  The problem is that we've learned that Windows Server 2008 64-bit does not support COM objects anymore, and therefore our previous cfobject calls can no longer be used to send out faxes.  I must have spent a whole day researching the issue, and I have not been able to find a solution.

 

What would be the ideal method, object call, or 64-bit solution that can allow us to once again send a fax via our ColdFusion scripts through our Windows Server 2008 machine?  Thanks!

 

Tony

 
Replies
  • Currently Being Moderated
    May 22, 2012 9:58 AM   in reply to tgfactor

    I suspect that FXSCOMEX.DLL is not a .NET assembly.  You might try one or more of the following options.

     

    1) Create a .NET component which wraps the Fax component.  Call the .NET component via cfinvoke or cfobject.

        See: http://www.codeproject.com/Questions/260306/How-to-initialize-FAXCOMEX Lib-FaxServer

            http://stackoverflow.com/questions/3663338/sending-fax-through-net-c

       

       

    2) Create a Visual Basic Script that can be invoked at the command line via cfexecute.

        See: http://msdn.microsoft.com/en-us/library/ms692936.aspx

           

           

    3) Use a third party web service such as Interfax ( www.interfax.net ).

     
    |
    Mark as:
  • Currently Being Moderated
    May 22, 2012 2:17 PM   in reply to tgfactor

    My comment and possibly the error message you are reporting relates to the fact that not all DLLs are .NET assemblies.  I suspect that FXSCOMEX.DLL is a COM component, and not a .NET assembly. In order to access the DLL's functionality you may need to create a .NET class that invokes the COM component.  Googling ".net com wrapper" or a similar phrase should get you started in the right direction.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 29, 2012 6:30 AM   in reply to tgfactor

    In regards the command line issue:

     

    1. Are any exceptions thrown when using CFEXECUTE?  If so what are the error messages?

     

    2. This might be a permissions issue.  Does the account that the CF server runs as have sufficient rights to execute the vbs script and/or access the fax components?

     

     

    In regards to the .NET issue, I'm afraid my experience using COM from a .NET assembly is limited.  You might try a .NET specific forum for assistance with that issue.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points