cannot fax using Fax Console

  • Thread starter Thread starter rs250
  • Start date Start date
R

rs250

Fax Services is installed on Win 2k3 Standard Edition. These are the
steps that I use in the Fax Console to send a fax:

1) Click Send Fax under File Menu
2) Click Next, To: Test, Location: US (1), Enter Fax Number, Check Use
Dialing Rules
3) Subjet Line: Test
4) Send fax: Now, Priority: Normal
5) Click Finish


In the Fax Console window, the Extended Status has "No answer" after 4
tries. I'm not sure why the fax doesn't get sent.


Some background info:
There are 3 Comtrol RocketModem III devices in the Fax Service Manager
that are setup to send and receive faxes. All of these 3 devices are
checked in the "Configure Fax". In Fax Service Manager the order of
priority is given to the third device.


What I'm trying to accomplish is to send a fax through Vb6 by using the

FaxComEx Library. Here is the code that I wrote on a Win XP Pro SP2 OS:



Private Sub SetupFax()


Dim objFaxServer As FAXCOMEXLib.FaxServer
Dim objFaxDocument As FAXCOMEXLib.FaxDocument
Dim objFaxDevice As FAXCOMEXLib.FaxDevice
Dim jobid As Variant


On Error GoTo Error_Handler


Set objFaxServer = New FAXCOMEXLib.FaxServer
Set objFaxDocument = New FAXCOMEXLib.FaxDocument
objFaxServer.Connect "svrimage.centurysd.com"
Set objFaxDevice = objFaxServer.GetDevices.Item(3)
objFaxDevice.SendEnabled = True 'Not sure if I need this proprety
objFaxDevice.Save 'Not sure if I need this proprety
objFaxDocument.Body = "C:Test.txt"
objFaxDocument.Recipients.Add "fax #", "Test"
jobid = objFaxDocument.ConnectedSubmit(objFaxServer)
MsgBox "The jobid is " & jobid
Set objFaxServer = Nothing
Set objFaxDocument = Nothing
Set objFaxDevice = Nothing


Error_Handler:


MsgBox "Error number: " & Hex(Err.Number) & ", " & Err.Description
End Sub


I am able to use the Connect property and connect to the third device
(Comtrol RocketModem III 3rd device), but when I try to use the
ConnectedSubmit property I get the error: Run time error
'-2147024894(80070002)': Operation Failed


Am I getting the error above because I cannot send a fax through fax
console?


Sorry for the Loong message.


Thanks for the help!
 
I figured out how to send a fax from MS Fax Console. The problem was
when sending the fax number the format of the fax number has to be
x-xxx-xxxx (or at least I think).

Still having the VB error on ConnectedSubmit. I tried changing the code
to objFaxDocument.Recipients.Add "x-xxx-xxxx", "Test", but that didn't
resolve the problem. The msdn vb code sample
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/...)
has objFaxDocument.Recipients.Add "12345678", "Test" and I've already
tried that. Other people who received the 80070002 error, received it
because the file name in objFaxDocument.Body didn't have the correct
path. I made sure the file path I included in that property is
correct. If anyone has any suggestions, please let me know.

Thanks!
 
I figured out how to send a fax from MS Fax Console. The problem was
when sending the fax number the format has to be x-xxx-xxxx (or at
least I think).

Still having the problem with the VB error on ConnectedSubmit. I tried
changing the code to objFaxDocument.Recipients.Add "x-xxx-xxxx",
"Test", but that didn't resolve the problem. The msdn vb code sample
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/...)

has objFaxDocument.Recipients.Add "12345678", "Test" and I've already
tried that. If anyone has any suggestions, please let me know.

Thanks!
 
The extended status of "No Answer" means that the receiving device isn't
accepting the fax call.
In your VB code, objFaxDocument.Body = "C:Test.txt" should have been
"C:\Test.txt"

Error code 80070002 is "The system cannot find the file specified."

--
---

Renu Bhattar [MSFT]

Microsoft Printing, Imaging and Faxing
This posting isprovided "AS IS" with no warranties and confers no rights.
Please do not send mail directly to this alias. This alias is for newsgroup
purposes only.
 
Hi Renu,

Thanks for your reply.

In my VB code, the code is actually objFaxDocument.Body =
"C:\Test.txt". I had a typo in the code that I posted on here. I
saved the file on the c drive with the name Test.txt. Does the file
have to be saved on the pc that has the fax modem installed? Probably
not as that defeats the main purpose of using Fax Console as any client
should be able to fax through the server.

The Fax Console wasn't able to send a fax because I checked Using
Dialing Rules and since I wasn't doing anything special (long distance
calling or using a phone card) I didn't have to use that option. So
the extending status issue is resolved and now Fax Console successfully
transmits a fax.

But I'm still having the 80070002 error. Any other suggestions?
The extended status of "No Answer" means that the receiving device isn't
accepting the fax call.
In your VB code, objFaxDocument.Body = "C:Test.txt" should have been
"C:\Test.txt"

Error code 80070002 is "The system cannot find the file specified."

--
---

Renu Bhattar [MSFT]

Microsoft Printing, Imaging and Faxing
This posting isprovided "AS IS" with no warranties and confers no rights.
Please do not send mail directly to this alias. This alias is for newsgroup
purposes only.

rs250 said:
I figured out how to send a fax from MS Fax Console. The problem was
when sending the fax number the format has to be x-xxx-xxxx (or at
least I think).

Still having the problem with the VB error on ConnectedSubmit. I tried
changing the code to objFaxDocument.Recipients.Add "x-xxx-xxxx",
"Test", but that didn't resolve the problem. The msdn vb code sample
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/...)

has objFaxDocument.Recipients.Add "12345678", "Test" and I've already
tried that. If anyone has any suggestions, please let me know.

Thanks!
 
I went to DOS Prompt and the file was saved as test.txt.txt so I
renamed the file and now the error 80070002 issue is resolved.

But now I receive another error: 800710D8. After searching the error
on Google, I found out that the error means that the fax printer isn't
installed on the client machine.

The network fax that is installed on my PC (Win XP Pro SP2) is the fax
modem on the server. The fax icon in "Printers and Faxes" is a MS
Shared Fax Driver and clicking on opens up Fax Console. So I should be
able to send a fax through the vb code and that fax should appear in
the Fax Console.

If I have a MS Fax Shared Driver installed then why the error?

Thanks.
Hi Renu,

Thanks for your reply.

In my VB code, the code is actually objFaxDocument.Body =
"C:\Test.txt". I had a typo in the code that I posted on here. I
saved the file on the c drive with the name Test.txt. Does the file
have to be saved on the pc that has the fax modem installed? Probably
not as that defeats the main purpose of using Fax Console as any client
should be able to fax through the server.

The Fax Console wasn't able to send a fax because I checked Using
Dialing Rules and since I wasn't doing anything special (long distance
calling or using a phone card) I didn't have to use that option. So
the extending status issue is resolved and now Fax Console successfully
transmits a fax.

But I'm still having the 80070002 error. Any other suggestions?
The extended status of "No Answer" means that the receiving device isn't
accepting the fax call.
In your VB code, objFaxDocument.Body = "C:Test.txt" should have been
"C:\Test.txt"

Error code 80070002 is "The system cannot find the file specified."

--
---

Renu Bhattar [MSFT]

Microsoft Printing, Imaging and Faxing
This posting isprovided "AS IS" with no warranties and confers no rights.
Please do not send mail directly to this alias. This alias is for newsgroup
purposes only.

rs250 said:
I figured out how to send a fax from MS Fax Console. The problem was
when sending the fax number the format has to be x-xxx-xxxx (or at
least I think).

Still having the problem with the VB error on ConnectedSubmit. I tried
changing the code to objFaxDocument.Recipients.Add "x-xxx-xxxx",
"Test", but that didn't resolve the problem. The msdn vb code sample
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/...)

has objFaxDocument.Recipients.Add "12345678", "Test" and I've already
tried that. If anyone has any suggestions, please let me know.

Thanks!

rs250 wrote:
Fax Services is installed on Win 2k3 Standard Edition. These are the
steps that I use in the Fax Console to send a fax:

1) Click Send Fax under File Menu
2) Click Next, To: Test, Location: US (1), Enter Fax Number, Check Use
Dialing Rules
3) Subjet Line: Test
4) Send fax: Now, Priority: Normal
5) Click Finish


In the Fax Console window, the Extended Status has "No answer" after 4
tries. I'm not sure why the fax doesn't get sent.


Some background info:
There are 3 Comtrol RocketModem III devices in the Fax Service Manager
that are setup to send and receive faxes. All of these 3 devices are
checked in the "Configure Fax". In Fax Service Manager the order of
priority is given to the third device.


What I'm trying to accomplish is to send a fax through Vb6 by using the

FaxComEx Library. Here is the code that I wrote on a Win XP Pro SP2 OS:



Private Sub SetupFax()


Dim objFaxServer As FAXCOMEXLib.FaxServer
Dim objFaxDocument As FAXCOMEXLib.FaxDocument
Dim objFaxDevice As FAXCOMEXLib.FaxDevice
Dim jobid As Variant


On Error GoTo Error_Handler


Set objFaxServer = New FAXCOMEXLib.FaxServer
Set objFaxDocument = New FAXCOMEXLib.FaxDocument
objFaxServer.Connect "svrimage.centurysd.com"
Set objFaxDevice = objFaxServer.GetDevices.Item(3)
objFaxDevice.SendEnabled = True 'Not sure if I need this proprety
objFaxDevice.Save 'Not sure if I need this proprety
objFaxDocument.Body = "C:Test.txt"
objFaxDocument.Recipients.Add "fax #", "Test"
jobid = objFaxDocument.ConnectedSubmit(objFaxServer)
MsgBox "The jobid is " & jobid
Set objFaxServer = Nothing
Set objFaxDocument = Nothing
Set objFaxDevice = Nothing


Error_Handler:


MsgBox "Error number: " & Hex(Err.Number) & ", " & Err.Description
End Sub


I am able to use the Connect property and connect to the third device
(Comtrol RocketModem III 3rd device), but when I try to use the
ConnectedSubmit property I get the error: Run time error
'-2147024894(80070002)': Operation Failed


Am I getting the error above because I cannot send a fax through fax
console?


Sorry for the Loong message.


Thanks for the help!
 
If you are using a shared Fax printer, you need that printer to be installed
on your machine.
Goto Printers and Faxes
select "Add Printer" and add the remote fax printer to your client machine.
You should see a new printer as "Fax on svrimage.centurysd.com" in your
Printers and Faxes.
Then try sending the fax.

Also, let me know if sending a fax using fax console to this server works.

Thanks,
--
---

Renu Bhattar [MSFT]

Microsoft Printing, Imaging and Faxing
This posting isprovided "AS IS" with no warranties and confers no rights.
Please do not send mail directly to this alias. This alias is for newsgroup
purposes only.

rs250 said:
I went to DOS Prompt and the file was saved as test.txt.txt so I
renamed the file and now the error 80070002 issue is resolved.

But now I receive another error: 800710D8. After searching the error
on Google, I found out that the error means that the fax printer isn't
installed on the client machine.

The network fax that is installed on my PC (Win XP Pro SP2) is the fax
modem on the server. The fax icon in "Printers and Faxes" is a MS
Shared Fax Driver and clicking on opens up Fax Console. So I should be
able to send a fax through the vb code and that fax should appear in
the Fax Console.

If I have a MS Fax Shared Driver installed then why the error?

Thanks.
Hi Renu,

Thanks for your reply.

In my VB code, the code is actually objFaxDocument.Body =
"C:\Test.txt". I had a typo in the code that I posted on here. I
saved the file on the c drive with the name Test.txt. Does the file
have to be saved on the pc that has the fax modem installed? Probably
not as that defeats the main purpose of using Fax Console as any client
should be able to fax through the server.

The Fax Console wasn't able to send a fax because I checked Using
Dialing Rules and since I wasn't doing anything special (long distance
calling or using a phone card) I didn't have to use that option. So
the extending status issue is resolved and now Fax Console successfully
transmits a fax.

But I'm still having the 80070002 error. Any other suggestions?
The extended status of "No Answer" means that the receiving device
isn't
accepting the fax call.
In your VB code, objFaxDocument.Body = "C:Test.txt" should have been
"C:\Test.txt"

Error code 80070002 is "The system cannot find the file specified."

--
---

Renu Bhattar [MSFT]

Microsoft Printing, Imaging and Faxing
This posting isprovided "AS IS" with no warranties and confers no
rights.
Please do not send mail directly to this alias. This alias is for
newsgroup
purposes only.

I figured out how to send a fax from MS Fax Console. The problem was
when sending the fax number the format has to be x-xxx-xxxx (or at
least I think).

Still having the problem with the VB error on ConnectedSubmit. I
tried
changing the code to objFaxDocument.Recipients.Add "x-xxx-xxxx",
"Test", but that didn't resolve the problem. The msdn vb code sample
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/...)

has objFaxDocument.Recipients.Add "12345678", "Test" and I've already
tried that. If anyone has any suggestions, please let me know.

Thanks!

rs250 wrote:
Fax Services is installed on Win 2k3 Standard Edition. These are the
steps that I use in the Fax Console to send a fax:

1) Click Send Fax under File Menu
2) Click Next, To: Test, Location: US (1), Enter Fax Number, Check
Use
Dialing Rules
3) Subjet Line: Test
4) Send fax: Now, Priority: Normal
5) Click Finish


In the Fax Console window, the Extended Status has "No answer" after
4
tries. I'm not sure why the fax doesn't get sent.


Some background info:
There are 3 Comtrol RocketModem III devices in the Fax Service
Manager
that are setup to send and receive faxes. All of these 3 devices are
checked in the "Configure Fax". In Fax Service Manager the order of
priority is given to the third device.


What I'm trying to accomplish is to send a fax through Vb6 by using
the

FaxComEx Library. Here is the code that I wrote on a Win XP Pro SP2
OS:



Private Sub SetupFax()


Dim objFaxServer As FAXCOMEXLib.FaxServer
Dim objFaxDocument As FAXCOMEXLib.FaxDocument
Dim objFaxDevice As FAXCOMEXLib.FaxDevice
Dim jobid As Variant


On Error GoTo Error_Handler


Set objFaxServer = New FAXCOMEXLib.FaxServer
Set objFaxDocument = New FAXCOMEXLib.FaxDocument
objFaxServer.Connect "svrimage.centurysd.com"
Set objFaxDevice = objFaxServer.GetDevices.Item(3)
objFaxDevice.SendEnabled = True 'Not sure if I need this proprety
objFaxDevice.Save 'Not sure if I need this proprety
objFaxDocument.Body = "C:Test.txt"
objFaxDocument.Recipients.Add "fax #", "Test"
jobid = objFaxDocument.ConnectedSubmit(objFaxServer)
MsgBox "The jobid is " & jobid
Set objFaxServer = Nothing
Set objFaxDocument = Nothing
Set objFaxDevice = Nothing


Error_Handler:


MsgBox "Error number: " & Hex(Err.Number) & ", " & Err.Description
End Sub


I am able to use the Connect property and connect to the third
device
(Comtrol RocketModem III 3rd device), but when I try to use the
ConnectedSubmit property I get the error: Run time error
'-2147024894(80070002)': Operation Failed


Am I getting the error above because I cannot send a fax through fax
console?


Sorry for the Loong message.


Thanks for the help!
 
Back
Top