P
Peter Haider
Hi,
this is the problem once more:
..... struggle with a problem using windows 2000 small business server
(SP4) - fax server
running under my ASP web application (using faxcom.dll version 1.0)
The sending of an fax - like the example below - works manually very well
(with file open and print to the fax printer from the desktop) - logged on
as a normal user.
But my code under ASP doesnt work (access rights for directory, to read the
file and to access to the fax server is given for the IUSER... - anonymous
user)
Here is the ASP / VB Script Code:
Dim Faxserver
Dim FaxDoc
Dim JobNo
Dim Filename
Set Faxserver = Server.Createobject("Faxserver.Faxserver")
both cases the same result / error
FaxServer.Connect("gericom.sbs.office") / FaxServer.Connect("")
Filename = server.MapPath("Orders/10173.pdf")
Set FaxDoc = FaxServer.CreateDocument(Filename)
FaxDoc.SendCoverpage = 0
FaxDoc.RecipientName = "Arnold"
FaxDoc.SenderName = "Peter"
FaxDoc.FaxNumber = "12345678"
FaxDoc.SenderFax = "87654321"
JobNo = FaxDoc.Send()
Set FaxDoc = Nothing
FaxServer.Disconnect()
Set FaxServer = Nothing
When i start this programm, the system seams to hang and after a short time,
there appears an error 0x8007000D (Data is invalid??) at the line
FaxDoc.Send()
If i change the File from the "10173.pdf" to "sample.txt" it doesnt stop,
but i do not see the faxjob in the faxqueue (anything to do with the
extension???)
Has anyone of you a tip for me?
Best Regards Peter Haider
this is the problem once more:
..... struggle with a problem using windows 2000 small business server
(SP4) - fax server
running under my ASP web application (using faxcom.dll version 1.0)
The sending of an fax - like the example below - works manually very well
(with file open and print to the fax printer from the desktop) - logged on
as a normal user.
But my code under ASP doesnt work (access rights for directory, to read the
file and to access to the fax server is given for the IUSER... - anonymous
user)
Here is the ASP / VB Script Code:
Dim Faxserver
Dim FaxDoc
Dim JobNo
Dim Filename
Set Faxserver = Server.Createobject("Faxserver.Faxserver")
both cases the same result / error
FaxServer.Connect("gericom.sbs.office") / FaxServer.Connect("")
Filename = server.MapPath("Orders/10173.pdf")
Set FaxDoc = FaxServer.CreateDocument(Filename)
FaxDoc.SendCoverpage = 0
FaxDoc.RecipientName = "Arnold"
FaxDoc.SenderName = "Peter"
FaxDoc.FaxNumber = "12345678"
FaxDoc.SenderFax = "87654321"
JobNo = FaxDoc.Send()
Set FaxDoc = Nothing
FaxServer.Disconnect()
Set FaxServer = Nothing
When i start this programm, the system seams to hang and after a short time,
there appears an error 0x8007000D (Data is invalid??) at the line
FaxDoc.Send()
If i change the File from the "10173.pdf" to "sample.txt" it doesnt stop,
but i do not see the faxjob in the faxqueue (anything to do with the
extension???)
Has anyone of you a tip for me?
Best Regards Peter Haider