This page discusses a scenario in which a fax service is being installed on Windows Server 2008 R2, which was previously installed on a Windows Server 2003. Sending faxes worked on the 2003 server. On the 2008 server, sending faxes using the fax as a shared printer works, but sending them programmatically fails, causing Invalid Operation errors.
The following line of code works on 2003 and fails in 2008:
JobIDs = (System.Array) faxDoc.ConnectedSubmit(faxServer);
The problem is that both the old fax (\OldServer\Fax) and the new fax (\NewServer\Fax) exist on the client machine. Remove the old fax, and the code should work.
For the full discussion regarding this issue, on the MSDN Windows Server forum, click here.
Content is Supplied Courtesy of InterFAX, the Leading Fax API
This content was collected for you courtesy of InterFAX, an online fax service providing a powerful fax API. InterFAX allows you to send faxes programmatically with just a few lines of code and no installations. We support faxing from all popular languages and platforms, including Java, C#, ASP, PHP, SMTP, VB, and Perl.