1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

facing problem while sending fax in asp.net

Discussion in 'ASP.NET' started by imran_mani, Apr 25, 2007.

  1. imran_mani

    imran_mani New Member

    Joined:
    Jul 26, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    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
    
                [B]faxServer.Connect("des".Trim())[/B]
                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
     
    Last edited by a moderator: Apr 25, 2007

Share This Page