I had the same problem in my windows 2000 server. I Disabled Anonymous Login from IIS Manager for the Folder of the asp and it is working fine now
All the best
Vins
aldiboro(@yahoo.com)
Andreas.Bretl - 17 May 2004 08:08 GMT
Thanks a lot Vins,
That made the job ;)
Everything is working fine now.
Greetings from munich,
Seize the Day
Andreas Bretl
bretl@brainlab.com
Dear Anyone,
Good morning to you. I faced that same problem here which require your
advise.
I have asp to call the dll by using Server.CreateObject, and gets the
permission denied. After I have added to the component to the COM+
service, it works fine. May I know why should I add the dll classes to
the COM+? It works fine in my development pc without having to add to
the COM+.
My concern is, I have a class call clsUpload in that dll that handles
file upload from my asp pages. My clsUpload doesnot work at all, cant
even retrieve the form items. But it works in my development pc.
I dont know why, is this related to COM+?
Pls help.
Wilson Ten
> Hi there,
>
[quoted text clipped - 3 lines]
>
> After installing my dll and the PDFlib dll (referenced within my dll)
i get
> the asp error '80020009' / Permission denied in Line XXX (where line XXX
> stands for the line where the object is created -> set obj =
[quoted text clipped - 30 lines]
> Andreas Bretl
> bretl@brainlab.com
Ralph - 24 Feb 2005 13:50 GMT
> Dear Anyone,
>
[quoted text clipped - 16 lines]
>
> Wilson Ten
The five cent answer is simply that it is a matter of security. Due to the
nature of the Net, asp pages must run in an isolated environment, under its
own user, with its own set of permissions and resources. To allow simple
COM/DCOM to operate uncontrolled would allow any object to 'callout' into
the outer world - mayhem and destruction would surely follow. COM+ 'wraps'
interprocess communication and allows the OS to manage and protect its
resources.
The components run OK during development as they are at that time running as
'you' with your permissions and resources. Problems with components that
don't appear to run even when registered with COM+ can usually be traced to
an 'unprotected' resource the component is attempting to access or denied
activity.
hth
-ralph