Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
System.UnauthorizedAccessExcep tion: Access is denied.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rupa Padia  
View profile  
 More options Mar 30 2003, 2:24 am
Newsgroups: microsoft.public.dotnet.framework.aspnet
From: "Rupa Padia" <r...@thegt.com>
Date: Sun, 30 Mar 2003 12:45:33 +0530
Local: Sun, Mar 30 2003 2:15 am
Subject: System.UnauthorizedAccessException: Access is denied.
 Hello,

I have been trying to create a object of "ACRODISTXLib.PdfDistiller()" after
adding reference of ACRODISTXLib, to use PDF Distiller 5.0 in my .aspx page.

I have written the code :

Dim objPDFPrinter As New ACRODISTXLib.PdfDistiller()

The same thing is working in vb application.

I have assigned the write permission to my virtual directory and my
"node\aspnet" is added as Administrator.

But, it shows the mentioned error, "The ASP.NET process is not authorized to
access the requested resource. For security reasons the default ASP.NET
process identity is '{machinename}\ASPNET', which has limited privileges.
Consider granting access rights to the resource to the ASP.NET process
identity."

Rupa


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ken Cox [Microsoft MVP]  
View profile  
 More options Mar 30 2003, 6:40 pm
Newsgroups: microsoft.public.dotnet.framework.aspnet
From: "Ken Cox [Microsoft MVP]" <BANSPAMken_...@sympatico.ca>
Date: Sun, 30 Mar 2003 18:37:09 -0500
Local: Sun, Mar 30 2003 6:37 pm
Subject: Re: System.UnauthorizedAccessException: Access is denied.
Don't forget that in a compiled VB app, your user rights are being passed
through wherever required. Not the same in the Web server context.

It is possible that the ASPNET process needs access to components or DLLs
elsewhere on your computer.

Does it still fail if you set the ASPNET account as SYSTEM?

http://www.aspalliance.com/kenc/faq2.aspx

You may also want to use impersonation to give the required access for an
individual Web:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpge...

Ken

"Rupa Padia" <r...@thegt.com> wrote in message

news:OTEQrzo9CHA.2148@TK2MSFTNGP10.phx.gbl...
Hello,

I have been trying to create a object of "ACRODISTXLib.PdfDistiller()" after
adding reference of ACRODISTXLib, to use PDF Distiller 5.0 in my .aspx page.

I have written the code :

Dim objPDFPrinter As New ACRODISTXLib.PdfDistiller()

The same thing is working in vb application.

I have assigned the write permission to my virtual directory and my
"node\aspnet" is added as Administrator.

But, it shows the mentioned error, "The ASP.NET process is not authorized to
access the requested resource. For security reasons the default ASP.NET
process identity is '{machinename}\ASPNET', which has limited privileges.
Consider granting access rights to the resource to the ASP.NET process
identity."

Rupa


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rupa padia  
View profile  
 More options Mar 31 2003, 8:25 am
Newsgroups: microsoft.public.dotnet.framework.aspnet
From: rupa padia <r...@thegt.com>
Date: Mon, 31 Mar 2003 05:20:04 -0800
Local: Mon, Mar 31 2003 8:20 am
Subject: Re: System.UnauthorizedAccessException: Access is denied.

Thank for the infot. My Distiller object requires .ps file and genertes
pdf for that.
How can I generate .ps file from html or any other ? Can we directly
create pdf doc and edit that in .net ?

It doesn't allo me in .Net :
PDDoc = Server.CreateObject("Acrobat.CAcroPDDoc")

Rupa

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google