Faxing from VB.NET via Windows 2003 server

S

Steli Andrei

Hello,
I do have a VB.NET application that is trying to fax
through Win 2003 Server. I do get this error: "Connection
to fax server failed" when I try to connect connect to it.
Here is part of my code:

Imports FAXCOMEXLib

Dim objFaxServer As New FAXCOMEXLib.FaxServer
Dim objFaxDocument As New FAXCOMEXLib.FaxDocument

objFaxServer.Connect(FaxServerName) 'FaxServerName is my
fax server: "\\ftdc1\fax" and this is the shared path.

This is where I get the error, right when I call "Connect".

Can anybody tell me what's wrong. Is there any code sample
out there that works !
 
C

Chandrasekar [MSFT]

Can you please try without the "\fax" at the end in the server name?? So
your server name string will look like \\ftdc1

Thanks,

--
Chandrasekar R
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
 
S

Steli Andrei

I have tried that, too !
The same error message. I don't know what's going on !
 
C

Chandrasekar [MSFT]

Can you check the status of the printer in the Client console??

1. To open client console Start->Run->fxsclnt
2. To check printer status Tools->Fax Printer Status.


Thanks,

--
Chandrasekar R
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
 
G

Guest

It says 'Online'. I don't think it's something wrong with
the fax. I can send faxes from my laptop using the wizard.
The Sys Admin gave my full rights to access the fax. If I
use the FAXCOMLib and specify Null as fax sever, it uses
the local fax server that's installed on my machine. If I
use FAXCOMEXLib and make ftdc1 as my Default printer, it
gives me the error: "Connection to fax server failed".
I don't know what to do. Again, I can send faxes using my
local fax (the one that's on my laptop) but I cannot send
faxes via a fax server that on a Win 2003 machine.

Thank you !
 
C

Chandrasekar [MSFT]

That is strange since you are saying you are able to fax via the send fax
wizard through the remote server.
What OS is installed on the client machine? Can you run the following script
and tell me whether it works??

set server = CreateObject("FaxComex.FaxServer")
server.Connect("ftdc1")
MsgBox "Connected"

Copy the above three line to some temp.vbs file and run this srcipt. Please
check whether the msg box pops up.

A few more questions:-

Thanks,

--
Chandrasekar R
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top