I cant seem to see anything obvious, you might want to try dropping
the .1 in both cfobject calls, letting COM decide the object version.
The other thing to try is to write a COM wrapper, where you can send
all the details in say one call and get the wrapper to then talk to
the Fax COM object
HTH
On 4/26/05, Scott Stroz <[EMAIL PROTECTED]> wrote:
> I am attempting to use CFMX 6.1 on WIN2K3 SBS server to send a fax.
>
> Here is my Code:
>
> <cfobject type="com" action="create" class="FaxComEx.FaxDocument.1"
> name="faxObj">
> <cfobject type="com" action="create" class="FaxComEx.FaxServer.1"
> name="faxServer">
>
> <cfset faxServer.connect('')>
>
> <cfset faxObj.Body = "Hi">
> <cfset faxObj.recipients.add("17325551212")>
> <cfset faxObj.sender.name="Scott">
> <cfset faxObj.sender.faxNumber="13045551212">
> <cfset faxObj.ConnectedSubmit(faxServer)>
>
> I get the following error.
>
> An exception occurred when executing a Com method.
> The cause of this exception was that: AutomationException: 0x80070002
> - Operation failed. in 'FaxComEx.FaxDocument.1'.
>
> It seems like I am sooooo close to getting this, but can;t figure
> out the cause of the error. Can anyone see what may be going wrong?
>
> Tahnx.
> --
> Scott Stroz
> Boyzoid.com
> ___________________________
> Some days you are the dog,
> Some days you are the tree.
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204635
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54