Windows Server 2003 Fax Problem

J

Jon

All,

I cannot seem to send a fax from my asp code on my windows 2003
server. I have been able to get it to send just a cover page fax from
an ASP page, but the process just hangs when I try to define the body.
Once I try to define the FaxDocument.Body field, it hangs for about 5
minutes and finally comes back and says the script has timed out.
This is my code:

Set Faxs = CreateObject("FaxComEx.FaxServer")
Faxs.Connect "my_fax_server"
Faxs.Connect "my_fax_server"
Set Faxd = CreateObject("FaxComEx.FaxDocument")
Faxd.coverpage = "generic"
Faxd.CoverPageType = 2
Faxd.Body = "E:\TEMP\FaxTest.doc"
Faxd.recipients.add "1234567", "TEST ASP USER"
Faxd.connectedsubmit(Faxs)

If I comment out the Faxd.Body line, the code works fine and the fax
is sent.

Also, I've noticed that after trying to execute the code, there seems
to be a random notepad.exe process hanging out there owned by "NETWORK
SERVICE" that I can see in the task manager. There seems to be one
for every time I try to execute the code.

Any help would be greatly appreciated.

Thanks,
Jon
 

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