T
Tony Piperato
Hello,
I'm trying to fax from an ASP and am encountering a problem when I hit the
".send" line:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
a.. Error Type:
(0x80070006)
Invalid handle
/faxproject/sendfaxc.asp, line 19
I'm a bit confused on what exactly the server name should be and wonder if
the code below is not correct, if someone can provide me with the correct
code. Please don't give me a reference URL since the Microsoft examples are
VERY confusing and have not worked thus far. I'm new at this faxing thing
and understand that I may be in a bit over my head but would appreciate any
help.
<% Private Sub Form_Load()
FaxMachine ="Orion"
Filename = "C:\faxdocs\testfax1.txt"
FaxNumber="12082471943"
Set FaxServer = CreateObject("FaxServer.FaxServer")
'FaxServer.Connect ("\\" & FaxMachine)
'FaxServer.Connect ("")
Set FaxDoc = FaxServer.CreateDocument(FileName)
With FaxDoc
.FaxNumber = FaxNumber
.Send
End With
Set FaxDoc = Nothing
Set FaxServer = Nothing
End Sub %>
Thanks in advance,
Tony Piperato
I'm trying to fax from an ASP and am encountering a problem when I hit the
".send" line:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
a.. Error Type:
(0x80070006)
Invalid handle
/faxproject/sendfaxc.asp, line 19
I'm a bit confused on what exactly the server name should be and wonder if
the code below is not correct, if someone can provide me with the correct
code. Please don't give me a reference URL since the Microsoft examples are
VERY confusing and have not worked thus far. I'm new at this faxing thing
and understand that I may be in a bit over my head but would appreciate any
help.
<% Private Sub Form_Load()
FaxMachine ="Orion"
Filename = "C:\faxdocs\testfax1.txt"
FaxNumber="12082471943"
Set FaxServer = CreateObject("FaxServer.FaxServer")
'FaxServer.Connect ("\\" & FaxMachine)
'FaxServer.Connect ("")
Set FaxDoc = FaxServer.CreateDocument(FileName)
With FaxDoc
.FaxNumber = FaxNumber
.Send
End With
Set FaxDoc = Nothing
Set FaxServer = Nothing
End Sub %>
Thanks in advance,
Tony Piperato