IIS Server Security - FAX Error in Windows 2003 server

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > September 2006 > FAX Error in Windows 2003 server





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author FAX Error in Windows 2003 server
Patel Mitesh

2006-09-21, 7:32 am

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

FS.Connect(ServerToConnect.Trim())

FD = FS. CreateDocument(str_Path_Of_File_To_Be_Fa
xed.Trim) \\\file Name to
be send

FD.FileName = str_Path_Of_File_To_Be_Faxed.Trim

FD.FaxNumber="45454545"

FD.DisplayName = "TEST"

FD.DiscountSend = 0

FD.SendCoverpage = 0

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

FS.Disconnect()

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}



I really required your help to solve this problem

Thanks in Advance

Mitesh

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com