Go4Expert

Go4Expert (http://www.go4expert.com/)
-   ASP.NET (http://www.go4expert.com/forums/asp-net/)
-   -   facing problem while sending fax in asp.net (http://www.go4expert.com/forums/facing-sending-fax-aspnet-t4013/)

imran_mani 25Apr2007 16:17

facing problem while sending fax in asp.net
 
I am using the code below and following errors comes
"Access denied" my compute name is "Des" which is on networking and i have logged as administrator but still access denied error is coming can anybody help me.


Code:

Try
            Dim faxServer As New FAXCOMLib.FaxServer

            faxServer.Connect("des".Trim())
            Dim faxDoc As FAXCOMLib.FaxDoc = CType(faxServer.CreateDocument              (Server.MapPath(pDocPath)), FAXCOMLib.FaxDoc)
            faxDoc.RecipientName = "GI Solutions"
            faxDoc.FaxNumber = pFaxNumber
            faxDoc.DisplayName = "TEST FAX"
            'faxDoc.FileName = Server.MapPath("FaxPath//" & txtPath.Text)
            faxDoc.RecipientTitle = "Fax Send GI Solutions"
            faxDoc.SenderFax = "ASP.NET"
            faxDoc.SenderName = "Fax R&D from ASP.NET"
            Dim Response As Integer = faxDoc.Send
            faxServer.Disconnect()
Catch Ex As Exception
            Response.Write(Ex.Message)
End Try



All times are GMT +5.5. The time now is 00:00.