Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 20th, 2006, 07:15 AM
Registered User
Join Date: Sep 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access Denied when I send fax in ASp.NET 2.0

Hi All,

I have developed FAX Application in ASP.NET 2.0 using FAXCOMLib in Windows 2003 Server Environment.

My code is given below.

Dim FS As New FAXCOMLib.FaxServer

Dim FD As FAXCOMLib.FaxDoc


FD = FS.CreateDocument(str_Path_Of_File_To_Be_Faxed.Tri m) \\\file Name to be send

FD.FileName = str_Path_Of_File_To_Be_Faxed.Trim


FD.DisplayName = "TEST"

FD.DiscountSend = 0

FD.SendCoverpage = 0

faxcnt = FD.Send() \\Error occurs Here


When i start this programm, the system seams to hang and after a short time,
there appears an error 0x80070005 (Data is invalid??) at the line
FaxDoc.Send() AS mentioned below

{"Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"}
    System.UnauthorizedAccessException: {"Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"}
    Data: {System.Collections.ListDictionaryInternal}
    HelpLink: Nothing
    InnerException: Nothing
    Message: "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"
    Source: "Interop.FAXCOMLib"
    StackTrace: " at FAXCOMLib.IFaxDoc.Send()
   at FaxApplication.Upload_Files.FaxTheFiles() in F:\Inetpub\wwwroot\Fax2\Upload_Files.aspx.vb:line 160"
    TargetSite: {System.Reflection.RuntimeMethodInfo}

This problem is regarding the security that i only know but where i dont know so pls hlep me.

I really required your help to solve this problem

Thanks in Advance



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP Access Denied Error hkccwong Classic ASP Basics 6 January 11th, 2008 04:12 AM
Access denied, can't create xml file from ASP.NET goldablasha C# 3 February 27th, 2007 05:50 AM
Fax with ASP.net ajindal General .NET 1 April 4th, 2006 11:13 PM
Crystal Report in asp.net - path is denied kssiva_s Crystal Reports 0 February 12th, 2005 09:30 AM
ASP Crystal Reports access denied sboltz Classic ASP Basics 1 November 16th, 2004 04:54 PM

All times are GMT -4. The time now is 10:15 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.