Skip to main content
May 14, 2012
Question

ColdFusion, Windows Server 2008, Fax Issue

  • May 14, 2012
  • 1 reply
  • 2544 views

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

This topic has been closed for replies.

1 reply

May 22, 2012

We've made a little progress since this post, but I still need some help.

I'm using a cfobject call to a .NET assembly, and the file we are accessing is the FXSCOMEX.DLL.  It is accessing it because we are not getting a .dll does not exist error.  However, we are unable to see if the methods we are using are correct because we are getting an error at the cfobject call where the message is "DotNetExtension not installed".

We did a fresh install of ColdFusion, added the .Net Integration via the installation, have .Net Framework 3.5.1 running, and also have .Net Extensibilty installed too.  What would we need to do to either insure that the DotNetExtension is installed or correctly call the .dll library via ColdFusion 64-bit?

Inspiring
May 22, 2012

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-FAXCOMEXLib-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 ).

May 22, 2012

First off, the DotNetExtension error is gone...for some reason the .NET integration was either not or not fully installed via our CF8 executable.  We had to download and install the integration separately.  Once, we did that and rebooted the server, no more DotNetExtension errors and we were able to access a dll.

Unfortunately, the error we have gotten now is "Can't load IA 32-bit .dll on a AMD 64-bit platform".  So, the first question I now have is where can I get a 64-bit version of the FXSCOMEX.dll file?

With regards to #1 (#2 seemed self-explanatory), Bob could you elaborate a bit more on the .NET component?  Are you talking about creating a method in a .NET file that calls the Fax Component and all the other methods of processing and sending a fax and after creating that .NET object via cfobject, we would use only one line of code that calls that specific method and all the parameters associated with it?  If not, please help me understand.