Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 20th, 2006, 07:15 AM
Registered User
Join Date: Sep 2006
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


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

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