Re: IIS default web site asp page permission problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



37 ' Using ADSI, get the list of default documents for this Web site.
38
39 sPath = "IIS://" & sServername & "/W3SVC/" & sServerinst
40 Set oDefSite = GetObject(sPath)
41 sDefDoc = LCase(oDefSite.DefaultDoc)
42 aDefDocs = split(sDefDoc, ",")



-------------------------------------------------------

Paul Baker [MVP, Windows Desktop Experience] wrote:
This KB article looks like it will probably answer your question. The line number is different, but it may be that it's a different version for which it still applies in general.

Permission Denied Error on Local Default Web Page
http://support.microsoft.com/kb/251361

I have seen this myself. I looked at the ProgID of the object it was trying to create, and remembered being unsuprised. However, I do not recall what that ProgID was. What do you have on line 40?

Paul

"Z.K." <nospam@xxxxxxxxxx> wrote in message news:OzYMQLJDKHA.3724@xxxxxxxxxxxxxxxxxxxxxxx
I just set up IIS in Windows XP Pro, but I keep getting the error below when going to the localhost site.

HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied: 'GetObject'
/localstart.asp, line 40

Page:
GET /localstart.asp


I have looked at localstart.asp and determined by commenting out that line 40 which is:

Set oDefSite = GetObject(sPath)

is the problem. Somehow I do not have permission using the GetObject() subroutine. Every other subroutine in the file works just fine. How do I change permissions in IIS to get permission to use GetObject()?

Z.K.


.



Relevant Pages

  • Re: Theft of WiFi charge in Florida
    ... >> implicitly given permission to connect. ... >> To access the web site you must use their network. ... And how do you think you get to the server? ...
    (comp.sys.mac.comm)
  • Re: WORD tries to connect to the INTERNET (12.158.80.10)
    ... If my system was sending e-mails without my express permission, ... Word MVP web site http://word.mvps.org ... connect to the VERISIGN site? ...
    (microsoft.public.word.newusers)
  • Re: Where is any documentation for the intrinsic C functions of flash-basic?
    ... permission if I'd been in RDTA's place. ... Let third parties host your ... implementation of D3 with the D3ref account loaded. ... copy of the data and load it into the web site. ...
    (comp.databases.pick)
  • RE: Checklist for Creating Empty Web Project
    ... You should check two permission sets. ... you need to the browse to the directory where your website point to ... and try to set the account you use the VS.NET to access the web site have ... This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.vsnet.general)
  • Re: Theft of WiFi charge in Florida
    ... > implicitly given permission to connect. ... > site you must use their network. ... I don't think the wireless access ... I think there's a difference in a _public_ Web site and a home network. ...
    (comp.sys.mac.comm)