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

Home Posts Topics Members FAQ

Fax server "Access denied" problem

I am searching for a way to solve this problem (the below post) too.
Anyone may help?
I get the same error, at the Connect() line. Even i've added the ASPNET
account to the fax's security tab. (in the printers and faxes control
panel page.)

Burak SARICA

ma81x yazmış:
I'm trying to send a fax from a web page using the following code.

On development machine with WindowsXP sp2 this works correctly.

On the test machine (Windows 2000 server sp4) this code throws
a "UnauthorizedAc cessException: Access is denied."
on the doc.Send() line.
The CreateObject(.. .) and the faxServ.Connect (...) works.

The file to send is a pdf and I installed latest acrobat reader on the
server (7.07).
In the Security tab of the fax I set all grants to Everyone.
Everyone has full control on the folder with temporary pdf files.

Please help me.

------------------------------------------------------------------------
Dim faxServ As Object 'FaxServer
Dim doc As Object 'FaxDoc

faxServ = CreateObject("F axServer.FaxSer ver.1")
faxServ.Connect (Environment.Ma chineName)

doc = faxServ.CreateD ocument(fileNam e)

doc.FaxNumber = sNum
doc.DisplayName = sNum
doc.FileName = fileName
doc.Send()

faxServ.Disconn ect()
------------------------------------------------------------------------
In a vbs file i wrote the following, and it works
(but unfortunately an acrobat reader still remain visible)
------------------------------------------------------------------------
Dim faxServ
Dim doc

Set faxServ = CreateObject("F axServer.FaxSer ver.1")
faxServ.Connect ("<machine-name>")

Set doc = faxServ.CreateD ocument("1.pdf" )
doc.FaxNumber = "+391111"
doc.Send()

Set doc = Nothing
faxServ.Disconn ect()
Set faxServ = Nothing
------------------------------------------------------------------------

Mar 23 '06 #1
1 2829
I am searching for a way to solve this problem (the below post) too.
Anyone may help?
I get the same error, at the Connect() line. Even i've added the ASPNET
account to the fax's security tab. (in the printers and faxes control
panel page.)

Burak SARICA
ma81x yazmış:
> I'm trying to send a fax from a web page using the following code.
>
> On development machine with WindowsXP sp2 this works correctly.
>
> On the test machine (Windows 2000 server sp4) this code throws
> a "UnauthorizedAc cessException: Access is denied."
> on the doc.Send() line.
> The CreateObject(.. .) and the faxServ.Connect (...) works.
>
> The file to send is a pdf and I installed latest acrobat reader on the
> server (7.07).
> In the Security tab of the fax I set all grants to Everyone.
> Everyone has full control on the folder with temporary pdf files.
>
> Please help me.
>
> ------------------------------------------------------------------------
> Dim faxServ As Object 'FaxServer
> Dim doc As Object 'FaxDoc
>
> faxServ = CreateObject("F axServer.FaxSer ver.1")
> faxServ.Connect (Environment.Ma chineName)
>
> doc = faxServ.CreateD ocument(fileNam e)
>
> doc.FaxNumber = sNum
> doc.DisplayName = sNum
> doc.FileName = fileName
> doc.Send()
>
> faxServ.Disconn ect()
> ------------------------------------------------------------------------
>
>
> In a vbs file i wrote the following, and it works
> (but unfortunately an acrobat reader still remain visible)
> ------------------------------------------------------------------------
> Dim faxServ
> Dim doc
>
> Set faxServ = CreateObject("F axServer.FaxSer ver.1")
> faxServ.Connect ("<machine-name>")
>
> Set doc = faxServ.CreateD ocument("1.pdf" )
> doc.FaxNumber = "+391111"
> doc.Send()
>
> Set doc = Nothing
> faxServ.Disconn ect()
> Set faxServ = Nothing
> ------------------------------------------------------------------------
>

Mar 24 '06 #2

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

Similar topics

1
10982
by: 9628 | last post by:
error while trying to run project: Unable to start debugging on the web server. Access is denied. Would you like to disable future attempts to debug ASP.NET pages for this project? I have tried everything but I still get this problem!1 does anybody have any more ideas on how to get rid of this?? I have Checked the web config file and Debug is set to true. Checked Configuration manager and debug is set
1
1471
by: ganesh | last post by:
I installed dotnet and when i try to run a web application i get the error messagebox saying "Unable to debug on server,Access is denied.Would you like to disable the future attempts to debug".
2
2752
by: Loane Sharp | last post by:
Hi there I'm using VB.NET and Office Web Components to access a SQL Server 2005 Express database and draw pictures on the fly in my ASP.NET application. Using .ExportPicture to write the GIF/JPEG/PNG image to disk and then load it into the page using the <IMG /> tag is probably not the tidiest or most secure way of doing this, but it is the easiest and allows the greatest flexibility in terms of positioning. (It also seems to be the most...
1
711
by: 9628 | last post by:
error while trying to run project: Unable to start debugging on the web server. Access is denied. Would you like to disable future attempts to debug ASP.NET pages for this project? I have tried everything but I still get this problem!1 does anybody have any more ideas on how to get rid of this?? I have Checked the web config file and Debug is set to true. Checked Configuration manager and debug is set
3
1292
by: shahram.shirazi | last post by:
Hi I have mysql, php and apache all hosted and am trying to use phpmyadmin to connect to the database however I get a user access problem, it says access denied. Any help would be greatly appreciated. Cheers Shaz
0
9643
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10319
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...
1
10087
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9947
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8971
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...
0
5380
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4046
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
3
2877
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.