Results 1 to 4 of 4

Thread: Dlls

  1. #1
    marianne
    Guest

    Question Dlls

    Hi

    I am having difficulty at the moment calling a dll in InterDev. I installed Windows2000 professional server and have IIS running and also installed interdev,

    This is the code for calling the dll.

    dim objfoldername,name
    set objfoldername = CreateObject("GetFolderName.GetFolder")

    name = objfoldername.GetFolderName

    msgbox name

    This code is placed in the window onload but when I run the asp page nothing happens and I do not even get an error back indicating what has caused this to fail.

    There is someone else here and he tried it on his machine and it succeeded. Is there something I have forgotten to install or make reference to??

  2. #2
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602
    See if this makes a difference:

    set objfoldername = Server.CreateObject("GetFolderName.GetFolder")

    Add Server. before the call to CreateObject


    Chris
    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

  3. #3
    marianne
    Guest

    Reply

    When I add the Server. CreateObject this is the error that is appearing

    Error Type:
    Server object, ASP 0178 (0x80070005)
    The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
    /Proposal/Page1.asp, line 9


    Any ideas why?

  4. #4
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602
    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

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