473,657 Members | 2,756 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

FaxcomLib and asp.net

HI,

I'm trying to send a fax to our server via a .net web page, but I keep
getting permission errors.
The code works fine on win xp, but on 2000, i get

System.Unauthor izedAccessExcep tion: Access is denied. at
FAXCOMLib.IFaxD oc.Send() at faxtest.WebForm 1.Page_Load(Obj ect sender,
EventArgs e)

My code is as follows

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles MyBase.Load

Try

Dim oFaxServer As FAXCOMLib.FaxSe rver

oFaxServer = New FAXCOMLib.FaxSe rver

Dim oFaxDoc As FAXCOMLib.FaxDo c

oFaxServer.Conn ect("web2")

oFaxDoc = oFaxServer.Crea teDocument("C:\ test.txt")

oFaxDoc.FaxNumb er = "********** ***"

oFaxDoc.Display Name = "Fax Server"

oFaxDoc.Send()

oFaxDoc = Nothing

oFaxServer.Disc onnect()

oFaxServer = Nothing

Catch ex As Exception

Response.Write( ex.ToString)

End Try

End Sub

I'm using identity impersonate, and I think this may be whats causing
problems. I've given permissions to just about everything, but the event log
shows that the fax has been submitted, then deleted.

Any help would be apreciated.

Thanks

Jul 21 '05 #1
0 1428

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1011
by: vbMark | last post by:
Is it possible to use a PDF as a coverpage in FAXCOMLib? Or is it possible to convert it to a COV via code or a commandline utility? Thanks! -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Get freeware, learn things, make money. http://www.vbmark.com
0
2007
by: Will Arrowsmith | last post by:
Hi All, I am trying to create a .tiff file to fax using the windows fax service FAXCOMLib. I have created an array of images (bitmaps) and converted them to 1pbb format in order to allow CCITT3/4 compression for faxing. The .Tiff file appears to be created successfully however when I try to send the file as a fax I get the error: System.Runtime.InteropServices.COMException (0x8007000D): The data is
0
1689
by: Will Arrowsmith | last post by:
Hi All, I am aiming to create a multiframe Tiff file that I can fax using the windows fax service FAXCOMLib. I have created an array of Bitmaps (pages I want in my fax doc) and succesfully converted them all to be 1bppIndexed. I then combine all bitmaps into a single multiframed Tiff file (with CCITT3 compression) before attempting to fax the file. When I call the send method of the fax routine I get the error:
3
5567
by: Bob | last post by:
Hi, Win2kServer Platform I dusted off some fax sending code that used to work. The send is now returning 'The date is invalid. System.Runtime.InteropServices.COMException(0x8007000D): The data is invalid as FAXCOMLIB.IFaxDoc.Send() (Code Below) I recently just installed a PCI modem card for the test. However it sends
0
451
by: Ponty | last post by:
HI, I'm trying to send a fax to our server via a .net web page, but I keep getting permission errors. The code works fine on win xp, but on 2000, i get System.UnauthorizedAccessException: Access is denied. at FAXCOMLib.IFaxDoc.Send() at faxtest.WebForm1.Page_Load(Object sender, EventArgs e)
0
1182
by: ahmedelmassry | last post by:
hi all , i am doing an app to send and recieve faxs using c# 2005 and os xp and i need to know how can i recieve a fax,i did the sending fax part but i dont know how to recieve ? SO can anybody give me a hint or a sample of code or any links to do that, this was my first question. the second that i want to know if the app will defferent in the xp bcoz i starting doubt if it the recieving fax will work on XP ? thanx 4 all and hope to see...
0
1301
by: denisk1981 | last post by:
Hi everyone! I try to send fax using local fax modem. Everything worked fine untill I tried to send blank Excel file. It obviously cannot find anything to print and show me alert message. But the program gets stuck and I need to exit it. Is there some method to suppress such messages or to enforce send() method to produce exeption or some error and not stuck the program? P.S. The same thing happens when I try to send .pdf file. Acrobat ...
0
895
by: DAnDA | last post by:
hi im using FAXCOMLib to Send Fax using C# ASP.Net i want to know how i can Cancel a FaxJob ? Anyone Can help?
1
3277
by: Annzs Krish | last post by:
Hi All, Same problem . Even .Tif is not working , not even sending any fax. i dont know is the request is send to Fax... not rign tone in the fax machine Could some show Ray of hope. -Annzs
0
8833
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8737
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7345
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6174
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5636
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4327
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2735
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1967
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1730
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.