Results 1 to 7 of 7

Thread: CreateObject and Win2000

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Location
    USA,CA
    Posts
    14
    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



  2. #2
    Addicted Member
    Join Date
    Jun 1999
    Location
    Los Angeles
    Posts
    186
    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é

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Location
    USA,CA
    Posts
    14
    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

  4. #4
    Addicted Member
    Join Date
    Jun 1999
    Location
    Los Angeles
    Posts
    186
    Ok try with Server.CreateObject("DLL.Class")

    André

  5. #5

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Location
    USA,CA
    Posts
    14
    Thanks but i did it but nothing ...
    Please ....

  6. #6

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Location
    USA,CA
    Posts
    14

    Someone told me that ..

    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 ?

  7. #7
    Addicted Member
    Join Date
    Jun 1999
    Location
    Los Angeles
    Posts
    186
    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é

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width