Fax service

  • Thread starter Thread starter Pavan Kumar
  • Start date Start date
P

Pavan Kumar

HI All,

I am able developing a windows service to send faxes .This windows service
uses fax service available in winodows 2003 .
my development environment is win 2003 and Dot net frame work with C#.
Now the problem is my windows service is unable to send faxes it fails
at


objDoc.Send();

where objDoc is FaxDoc object .

The same code works fine if I implement as a windows application ..
Any help is apprec.
Regards
Pavan
 
Please capture the return HRESULT value of FaxDoc.Send and report back. By
the way what is the context in which your service is running under and is it
a managed or unmanaged service?

--
Raghavendra R
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
 
HI Rag,

I am running my service under managed service.
and exception i am catching is

"Error in sending fax to the fax serverAccess denied. at
FaxDocumentClass.ConnectedSubmit(FaxServer pFaxServer)"

Regards
Pavan.
 
Back
Top