G
Guest
Guest
Archived from groups: microsoft.public.windowsxp.print_fax (More info?)
Hi There,
I am trying to fax a document from an asp.net page and I am getting an
Error message saying Access denied.
Here is my function that I am using.
Sub SendFax(ByVal strFilePath As String, byVal strPhone As String)
Dim objFaxServer As New FAXCOMLib.FaxServer
Dim objFaxDocument As FAXCOMLib.FaxDoc
Dim JobID As Long
objFaxServer = CreateObject("Faxserver.Faxserver")
objFaxServer.Connect("") <-- access denied message here
objFaxDocument = objFaxServer.CreateDocument(strFilePath)
objFaxDocument.FaxNumber = strPhone
' Send the Fax
JobID = objFaxDocument.Send()
objFaxDocument = Nothing
objFaxServer = Nothing
End Sub
I have tried giving IUSR and IWAM accounts access to the shared fax
printer and the c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files directories but still no luck.
I have a Windows 2003 Server with fax sharing installed.
Does anyone have the solution to this problem ?
Regards
David
Hi There,
I am trying to fax a document from an asp.net page and I am getting an
Error message saying Access denied.
Here is my function that I am using.
Sub SendFax(ByVal strFilePath As String, byVal strPhone As String)
Dim objFaxServer As New FAXCOMLib.FaxServer
Dim objFaxDocument As FAXCOMLib.FaxDoc
Dim JobID As Long
objFaxServer = CreateObject("Faxserver.Faxserver")
objFaxServer.Connect("") <-- access denied message here
objFaxDocument = objFaxServer.CreateDocument(strFilePath)
objFaxDocument.FaxNumber = strPhone
' Send the Fax
JobID = objFaxDocument.Send()
objFaxDocument = Nothing
objFaxServer = Nothing
End Sub
I have tried giving IUSR and IWAM accounts access to the shared fax
printer and the c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files directories but still no luck.
I have a Windows 2003 Server with fax sharing installed.
Does anyone have the solution to this problem ?
Regards
David