need a step by step code in ASP.NET2.0(C#)

6 posts / 0 new
Last post
sheeba
Offline
Joined: 12 Sep 2007
need a step by step code in ASP.NET2.0(C#)

Hi,
I used the code given in ASP.Net(C#) .(ie) Fax Web Service Code Sample
C# - Simple Fax Transmission and Status Check (SendCharFax & FaxStatus Methods).

when i run the application its giving

Send Fax returned code is: -1003

i wanted to test the interfax functionality so tat i can use in the live application

so i need a step by step process(C#.Net) of how to make it function...

Georg
Offline
Joined: 24 Feb 2009

Hi,

the errorcode -1003 means authentication error. You have to set up your own username and password in the code.
If you don't habe these details yet, please register to InterFAX Services first.

kind regards
Georg

sheeba
Offline
Joined: 12 Sep 2007

now its giving -112 eror code

Georg
Offline
Joined: 24 Feb 2009

Hi,
this error means "No valid recipients added or missing fax number"

You will find all error codes at this page:
http://www.interfax.net/en/help/error_codes

You should set all "custom"-variables to your needs! And maybe it would help , if you have a look at the webservices manuals on http://www.interfax.net/en/dev/webservice/reference

Kind regards
Georg

Adam M
Offline
Joined: 19 Jun 2009

sheeba wrote:
now its giving -112 eror code

Actually, it's likely that you are attempting to fax to a number that is not the designated fax number in your developer account. See Q5 in the Developer FAQ.

Since you entered a dummy number for your designated number - +91(2333)123456789 - you will never be able to fax anywhere.

Please with a request to change your designated fax number, citing your username and the actual number you wish to fax to.

blavie
Offline
Joined: 16 Nov 2010

FYI, here is the overview of our documentation for fax asp and c# fax. You can find additional code samples there.

Login or register to post comments