Fax service

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
 
R

Raghavendra R [MSFT]

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.
 
P

Pavan Kumar

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top