Sometimes getting errors when using windows fax service sending fax in C# using FaxCom.dll

Marganz
Marganz used Ask the Experts™
on
We have an project at the moment and we made an script to fax using faxcom.dll, this was al working great till last sunday. It still works but sometimes we random error's see the attachted files.


the c# code we use:

using System;
using FAXCOMLib;

namespace FaxSender
{
    class Program
    {
        static void Main(string[] args)
        {
            FaxServer server = new FaxServerClass();
           
            server.Connect(Environment.MachineName);
             
            FaxDoc document = (FaxDoc)server.CreateDocument(args[1]);
            document.FaxNumber = args[0];
            document.Send();

            server.Disconnect();
        }
    }

It runs on Windows Server 2003 Web edition  SP2

Anyone an solution for this problem?
error1.jpg
error2.jpg
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Awarded 2009
Top Expert 2010
Commented:
My first guess if it was working fine but has suddenly stopped and nothing has been changed would be to try different memory in the machine.

Also look at what updates may have been installed since it stopped working to see if you can identify what might be causing the problem.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial