PC Review


Reply
Thread Tools Rate Thread

Fax server API version does not support the requested operation

 
 
=?Utf-8?B?U3R1YXJ0?=
Guest
Posts: n/a
 
      2nd Mar 2005
I am trying to send a fax programatically using the FAXCOMEx.DLL with .Net
(C# and COM Interop).
I have built a class to encapsulate the logic for sending the fax -
not much to it really. This works nicely when I include this class in a
Windows Forms project and call it from an event handler.

When I compile this class and call it from a web service, the "submit" call
fails, with the error: "Fax server API version does not support the requested
operation". (Yet it works from the WinForms app with exactly the same
parameters, for server
name, etc.)

The code looks like this;
FaxDocument faxDoc = new FaxDocumentClass();

faxDoc.CoverPageType = FAX_COVERPAGE_TYPE_ENUM.fcptLOCAL;
faxDoc.CoverPage = coverPageName;
faxDoc.Recipients.Add(FaxNumber,RecipientName);
faxDoc.Subject = Subject;
faxDoc.Note = Notes;
faxDoc.Body = FileName;

faxDoc.Submit(faxServerName);

I've tried using impersonation to run this code under various "alias"
including the system admin! Same error :-( I've checked all the permission
on the fax server - which FYI is a Windows 2003 server running SBS 2003.

I would be most grateful for any help provided.

Thanks in anticipation.

Stuart.

PS. I did post this in the .Net General newsgroup a few days ago but have
not had any response.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?U3R1YXJ0?=
Guest
Posts: n/a
 
      4th Mar 2005
Should anyone be interested - MS tech support offered this answer...

Change the user specified in "processModel" tag of machine.config to a
higher privileged user.

This indeed did fix the "Fax server API version does not support the
requested operation" problem but obviously will not be the final answer. I
am inthe process of finding out what privileges have to change for the
machine user that runs the ASPNET processes, or what the minimum requirements
are for a domain user that is to be used for this purpose. I'll post when I
find out.


"Stuart" wrote:

> I am trying to send a fax programatically using the FAXCOMEx.DLL with .Net
> (C# and COM Interop).
> I have built a class to encapsulate the logic for sending the fax -
> not much to it really. This works nicely when I include this class in a
> Windows Forms project and call it from an event handler.
>
> When I compile this class and call it from a web service, the "submit" call
> fails, with the error: "Fax server API version does not support the requested
> operation". (Yet it works from the WinForms app with exactly the same
> parameters, for server
> name, etc.)
>
> The code looks like this;
> FaxDocument faxDoc = new FaxDocumentClass();
>
> faxDoc.CoverPageType = FAX_COVERPAGE_TYPE_ENUM.fcptLOCAL;
> faxDoc.CoverPage = coverPageName;
> faxDoc.Recipients.Add(FaxNumber,RecipientName);
> faxDoc.Subject = Subject;
> faxDoc.Note = Notes;
> faxDoc.Body = FileName;
>
> faxDoc.Submit(faxServerName);
>
> I've tried using impersonation to run this code under various "alias"
> including the system admin! Same error :-( I've checked all the permission
> on the fax server - which FYI is a Windows 2003 server running SBS 2003.
>
> I would be most grateful for any help provided.
>
> Thanks in anticipation.
>
> Stuart.
>
> PS. I did post this in the .Net General newsgroup a few days ago but have
> not had any response.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to get stand alone Dot Net Framework version 1.1, version 2.0,version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? pg Windows XP General 11 9th Feb 2008 02:55 AM
Where to get stand alone Dot Net Framework version 1.1, version 2.0,version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? pg Microsoft Dot NET 11 9th Feb 2008 02:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green Windows XP Help 0 5th Feb 2008 03:45 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green Microsoft ASP .NET 0 5th Feb 2008 03:45 AM
Fax server API version does not support the requested operation =?Utf-8?B?U3R1YXJ0?= Microsoft Dot NET 4 8th Mar 2007 11:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:17 AM.