localstart.asp has error 800a0046

Discussion in 'ASP General' started by Chris Mescher, Sep 12, 2004.

  1. Hi everyone,
    My IIS server won't work properly. I constantly receive the following error
    on localstart.asp:

    Microsoft VBScript runtime error '800a0046'
    Permission denied: 'GetObject'

    /localstart.asp, line 40

    Line 40, and the surrounding code appear like this:

    sPath = "IIS://" & sServername & "/W3SVC/" & sServerinst
    (Line40) --> Set oDefSite = GetObject(sPath)
    sDefDoc = LCase(oDefSite.DefaultDoc)
    aDefDocs = split(sDefDoc, ",")

    I have tried several suggestions I found on the Internet with no success.
    Any help would be appreciated.
     
    Chris Mescher, Sep 12, 2004
    #1
    1. Advertising

  2. Chris Mescher

    Jeff Cochran Guest

    On Sun, 12 Sep 2004 11:28:42 +1000, "Chris Mescher"
    <> wrote:

    >Hi everyone,
    >My IIS server won't work properly. I constantly receive the following error
    >on localstart.asp:
    >
    >Microsoft VBScript runtime error '800a0046'
    >Permission denied: 'GetObject'
    >
    >/localstart.asp, line 40
    >
    >Line 40, and the surrounding code appear like this:
    >
    >sPath = "IIS://" & sServername & "/W3SVC/" & sServerinst
    >(Line40) --> Set oDefSite = GetObject(sPath)
    >sDefDoc = LCase(oDefSite.DefaultDoc)
    >aDefDocs = split(sDefDoc, ",")
    >
    >I have tried several suggestions I found on the Internet with no success.
    >Any help would be appreciated.


    Is this from anywhere or just browsing on the server to localhost? If
    so, do you have admin permissions for the account you're using?

    Jeff
     
    Jeff Cochran, Sep 13, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Harvey

    IIS 5.0 localstart.asp error

    Harvey, Aug 1, 2003, in forum: ASP General
    Replies:
    0
    Views:
    119
    Harvey
    Aug 1, 2003
  2. nicholas.gadacz

    Microsoft VBScript runtime error '800a0046'

    nicholas.gadacz, Oct 21, 2003, in forum: ASP General
    Replies:
    3
    Views:
    466
    Bob Barrows
    Oct 22, 2003
  3. Seeker
    Replies:
    10
    Views:
    664
    Seeker
    Mar 4, 2004
  4. Anthony

    IIS 6.0 - localstart.asp

    Anthony, Apr 4, 2004, in forum: ASP General
    Replies:
    6
    Views:
    244
    Dominique
    Apr 5, 2004
  5. Jason
    Replies:
    9
    Views:
    459
Loading...

Share This Page