D
dhhms
I have a 2003 server, named ds9, with a fax modem attached to it.
I am using the following vbs script to send a fax through ds9 from another
machine:
Set objFaxServer = CreateObject ("FaxComEx.FaxServer")
objFaxServer.Connect "ds9"
MsgBox objFaxServer.ServerName & ", " & objFaxServer.MajorBuild
Set objFaxDoc = CreateObject ("FaxComEx.FaxDocument")
objFaxDoc.Body = "c:\temp\test.txt"
objFaxDoc.Recipients.Add "(123)123-4567", "test"
objFaxDoc.ConnectedSubmit(objFaxServer)
When I run this script on my XP Pro workstation, it runs fine.
When I run it on another 2003 server (an app server), Windows Script Host
gives this error:
Line: 7
Char: 1
Error: Operation failed.
Code: 800710D8
Source: FaxComEx.FaxDocument.1
This error might relate to not having a fax device installed (ms kb 841714).
I don't have a physical fax device on the 2003 app server, but I DO have a
fax printer configured for the shared fax on ds9, called \\ds9\fax.
I AM able to send faxes from the app server, through ds9, by printing to
"Fax on ds9" from notepad. The "Send a fax..." wizard also works.
The only thing that doesn't work on the 2003 app server is the above
FaxComEx script
(and the script does work from XP Pro).
Any suggestions?
Thanks,
Darin
I am using the following vbs script to send a fax through ds9 from another
machine:
Set objFaxServer = CreateObject ("FaxComEx.FaxServer")
objFaxServer.Connect "ds9"
MsgBox objFaxServer.ServerName & ", " & objFaxServer.MajorBuild
Set objFaxDoc = CreateObject ("FaxComEx.FaxDocument")
objFaxDoc.Body = "c:\temp\test.txt"
objFaxDoc.Recipients.Add "(123)123-4567", "test"
objFaxDoc.ConnectedSubmit(objFaxServer)
When I run this script on my XP Pro workstation, it runs fine.
When I run it on another 2003 server (an app server), Windows Script Host
gives this error:
Line: 7
Char: 1
Error: Operation failed.
Code: 800710D8
Source: FaxComEx.FaxDocument.1
This error might relate to not having a fax device installed (ms kb 841714).
I don't have a physical fax device on the 2003 app server, but I DO have a
fax printer configured for the shared fax on ds9, called \\ds9\fax.
I AM able to send faxes from the app server, through ds9, by printing to
"Fax on ds9" from notepad. The "Send a fax..." wizard also works.
The only thing that doesn't work on the 2003 app server is the above
FaxComEx script
(and the script does work from XP Pro).
Any suggestions?
Thanks,
Darin