View Complete Thread
  • Permission denied for access to IIS object

    Jul 13, 2006 07:10 AM|dublinie|LINK

    Hi all,

    I have an application which interacts with IIS and creates virtual directories through the use of GetObject. However, the application has recently started to report "permission denied" when trying to do this. The error specifically is:

    Microsoft JScript runtime error '800a0046'

    Permission denied

    The line which generates the error is:

    var oWebSite = GetObject("IIS://localhost/W3svc/3/Root");

    We had this working before with the same server and setup so I'm at pains to see what has changed and what the issue is exactly. Would appreciate any help with it. It's written in JScript in classic ASP.

    Thanks in advance,