vb.netrightfax

RightFax Server Setting


I am currently doing integration to rightfax which using visual basic. There are some basic settings in order to establish connection.

I would like to ask the server name it is limited to servername only or IP address also acceptable?

Because currently I am using IP but it return me an error "The system cannot find the file specified" Anyone can kindly advise me? Appreciate for any reply.

gl_MyFaxServer = New RFCOMAPILib.FaxServer()
        gl_MyFaxServer.ServerName = "172.17.80.167"
        gl_MyFaxServer.Protocol = RFCOMAPILib.CommunicationProtocolType.cpNamedPipes
        gl_MyFaxServer.AuthorizationUserID = "ADMINISTRATOR"
        gl_MyFaxServer.AuthorizationUserPassword = "password01"
        gl_MyFaxServer.UseNTAuthentication = RFCOMAPILib.BoolType.False

        gl_MyFaxServer.OpenServer()

Solution

  • This error caused because of authentication failure. Make sure from the provided details by using them to connect to the right fax server via "RightFax FaxUtil".

    One more thing, the "Administrator" account set without password for RightFax Server. So try to comment "gl_MyFaxServer.AuthorizationUserPassword = "password01" " line. Don't pass empty string, just remove the password assignment.