PDA

Click to See Complete Forum and Search --> : CreateObject and Win2000


Anna
Dec 18th, 2000, 03:37 AM
Hi ,

I try to write createObject from ASP Page
To VB .I GOT ERROR permission denied
try to do it on Win2000 ,vb6

Any Help Please ????/

Thanks

Anna

André
Dec 19th, 2000, 07:56 AM
Is your object an exe?

Does your object try to open an exe?

If so, that's the root, you must go to MS msdn search and find a paper on executing out-of-process components from ASP.

André

Anna
Dec 20th, 2000, 06:58 AM
no i just want to use createobject to vb dll
when i use in win98 psw its work
but when i use win2000 iis5
i got err like permission denied

André
Dec 20th, 2000, 07:02 AM
Ok try with Server.CreateObject("DLL.Class")

André

Anna
Dec 20th, 2000, 09:53 AM
Thanks but i did it but nothing ...:(
Please ....

Anna
Dec 20th, 2000, 09:54 AM
t's most likely the permissions on the server for the object (DLL) you're
trying to create. Unless you are running the ASP page under a specific
account (i.e. with anonymous access turned off), you must give the
IUSR-{machinename} and IWAM-{machinename} accounts read permission for the
DLL.

What does it mean ?

André
Dec 21st, 2000, 02:06 AM
Ok, do you have data connections from your dll?

What kind of security do you use?

My best suggestion for you, is for you to install the dll in COM+ and give it an identity, one NT account identity.

Try this. I have never had this problem.
Another guess: Does your component request data through HTTP?, does it try to get XML data through HTTP?

André