Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
Reading windows fax service job status in ASP.NET

Traitée Reading windows fax service job status in ASP.NET

  • samedi 14 avril 2012 01:13
     
      A du code

    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

Toutes les réponses