none
Reading windows fax service job status in ASP.NET

    คำถาม

  • I have developed a web site to show job status of our fax server. I use windows fax service (fxscomex.dll interop). when I am debugging from VS2010 (using development sever), everything is fine, I can read jobs status of, but when I run my web site under IIS, job queue is always empty.

    here is my code to check sent items:

    FaxOutgoingMessageIterator sentItems = fxServer.Folders.OutgoingArchive.GetMessages(100);
    sentItems.MoveFirst();
    while (!sentItems.AtEOF)
    {
        Response.Write(itm.Recipient.Name);
        sentItems.MoveNext();
    }
    
    on IIS, sentItems.AtEOF is always true.

    Thank you

    14 เมษายน 2555 1:13

คำตอบ