Click here to Skip to main content
12,510,824 members (49,639 online)
Rate this:
 
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
Updated 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 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 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160929.1 | Last Updated 30 Nov 2012
Copyright © CodeProject, 1999-2016
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