لم تعُد "مجموعات Google" تتيح المشاركات أو الاشتراكات الجديدة من Usenet. وسيبقى بالإمكان عرض المحتوى السابق.

System.UnauthorizedAccessException: Access is denied.

15 مرّة مشاهدة
التخطي إلى أول رسالة غير مقروءة

Rupa Padia

غير مقروءة،
30‏/03‏/2003، 2:15:33 ص30‏/3‏/2003
إلى
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

Ken Cox [Microsoft MVP]

غير مقروءة،
30‏/03‏/2003، 6:37:09 م30‏/3‏/2003
إلى
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/cpgenref/html/gngrfidentitysection.asp

Ken

"Rupa Padia" <ru...@thegt.com> wrote in message
news:OTEQrzo9...@TK2MSFTNGP10.phx.gbl...

rupa padia

غير مقروءة،
31‏/03‏/2003، 8:20:04 ص31‏/3‏/2003
إلى

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!

0 رسالة جديدة