Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
Using Visual Studio solution FAX machine is working fine which is directly connect to the system. But after hosting into IIS 7.5 Server,FAX machine not responsing.

this is the code am using..
///////
try
{
FAXCOMLib.FaxServer faxServer = new FAXCOMLib.FaxServer();
faxServer.Connect(Environment.MachineName);
FAXCOMLib.FaxDoc faxDoc = (FAXCOMLib.FaxDoc)faxServer.CreateDocument(FileName);
faxDoc.RecipientName = RecipientName;
faxDoc.FaxNumber = FaxNumber;
faxDoc.DisplayName = DocumentName;
int Response = faxDoc.Send();
faxServer.Disconnect();
 
}
catch (Exception Ex) { MessageBox.Show(Ex.Message); }
 
//////////////
Even 1)i set application pool identity to :LocalSystem
2)Fax defalut setting as printer
3)Fax service running status :Automatic
but it is not working
 
help me anyone
 
Thanks in advance......
Posted 30-Nov-12 1:11am
Edited 30-Nov-12 1:34am
v3

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Have you checked that the physical PC server hosting IIS has a modem attached that you can access? You cannot access any fax (or other modem) attached to the client machine, as your C# code runs on the server, not the client.
  Permalink  
Comments
swat8125 at 30-Nov-12 7:40am
   
Right. but how can i attach to the iis server.I dnt know am asking correctly. but plz explain me
swat8125 at 30-Nov-12 7:52am
   
How can check modem is attach to the iis server. please show me the way

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Dnyaneshwar@Pune 604
1 thatraja 370
2 OriginalGriff 319
3 Sergey Alexandrovich Kryukov 241
4 Gihan Liyanage 194
0 OriginalGriff 737
1 Dnyaneshwar@Pune 604
2 Kornfeld Eliyahu Peter 505
3 Sergey Alexandrovich Kryukov 395
4 thatraja 370


Advertise | Privacy | Mobile
Web04 | 2.8.140902.1 | Last Updated 30 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100