Results 1 to 9 of 9

Thread: The call to Server.CreateObject failed while checking permissions. Access is denied t

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2002
    Location
    Hampton Beach
    Posts
    513

    The call to Server.CreateObject failed while checking permissions. Access is denied t

    I setup my XP workstation as a web server (IIS). I am trying to run this code:

    <%@ Language=VBScript %>
    <% rpt_filter = "123456"
    Set oApp = Server.CreateObject("Access.Application")
    oApp.OpenCurrentDatabase "C:\Test.mdb"
    Set oDoCmd = oApp.DoCmd
    FileName= "fecal" + ".snp"
    oDoCmd.OpenReport "Report1",acViewPreview,,"PROCESSBATCHID="&rpt_filter
    oDoCmd.OutputTo 3, "Report1","Snapshot Format",Server.MapPath(FileName)
    set oDoCmd = Nothing
    Set oApp = Nothing %>

    I get the following error when I run it from the xp workstation:


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

    How can I resolve this. Sounds like a permission problem? I know nothing about modifying permissions. If this is the resolution, can you please show me how to make the correct modifications?

    Your help is greatly appreciated in this matter.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: The call to Server.CreateObject failed while checking permissions. Access is deni

    You probably need to set permissions on msvbvm60.dll. Right click it, give everyone full control.

    If that doesn't work, it'll have to be the MDAC files on your machine, but I think it should be msvbvm60.dll.

  3. #3
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877

    Re: The call to Server.CreateObject failed while checking permissions. Access is deni

    Quote Originally Posted by mendhak
    You probably need to set permissions on msvbvm60.dll. Right click it, give everyone full control.

    If that doesn't work, it'll have to be the MDAC files on your machine, but I think it should be msvbvm60.dll.
    I think I came accross this error before. Its to do with permission, more specifically when CreateObject is performed IIS uses the default account(IWAM_User or something like that) which does not have the permission to create an instance. There was a knowledgebase article on how to resolve it. If I can dig it up I will post it.
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: The call to Server.CreateObject failed while checking permissions. Access is deni

    Do you mean IWAM_xyz or IUSR_xyz?

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2002
    Location
    Hampton Beach
    Posts
    513

    Re: The call to Server.CreateObject failed while checking permissions. Access is denied t

    Can someone try my code and tell me if it works for you...

  6. #6
    Lively Member
    Join Date
    Sep 2004
    Posts
    71

    Re: The call to Server.CreateObject failed while checking permissions. Access is deni

    I encounted this problem many time before now my computer. All you need to do is add (IUSR_COMNAME) or Internet Guest Account and allow the permission to Full Control.

    Irwin

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2002
    Location
    Hampton Beach
    Posts
    513

    Re: The call to Server.CreateObject failed while checking permissions. Access is denied t

    How do I do this... I am new to permissions, etc... Your help is appreciated...

  8. #8
    Lively Member
    Join Date
    Sep 2004
    Posts
    71

    Re: The call to Server.CreateObject failed while checking permissions. Access is deni

    Simple, you right click on the object you want to open and go to Security tab and click on the button Add. Then find the IUSR_YOURCOMNAME and add it. After adding just allow Full Control. My workstation is win200 hope it is the method with win XP.

    Irwin

  9. #9
    New Member
    Join Date
    Mar 2009
    Posts
    1

    Re: The call to Server.CreateObject failed while checking permissions. Access is deni

    Maybe this solution has worked before, but on Windows Vista the rights on msVbVm60.dll can't be chanched! After changing the settings the apply button issues the message "Can't save changes in the rights on msvbvm60.dell. Access denied" (translated from ducth).

    HELP!!!

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