Re: IIS default web site asp page permission problem
- From: "Paul Baker [MVP, Windows Desktop Experience]" <paulrichardbaker@xxxxxxxxxxxxxxxx>
- Date: Mon, 27 Jul 2009 15:56:01 -0400
Hmm, that sounds like an administrator kind of a thing to do. So if the
authentication is anonymous or if you are authenticating as a user who is
not an administrator, this is not suprising.
You don't need to be concerned about it. In fact, I would just delete
localstart.asp.
You only need to be concerned if you add pages of your own that don't work
as you intended.
Paul
"Z.K." <nospam@xxxxxxxxxx> wrote in message
news:%235tR2XKDKHA.1248@xxxxxxxxxxxxxxxxxxxxxxx
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.
.
- Follow-Ups:
- References:
- IIS default web site asp page permission problem
- From: Z.K.
- Re: IIS default web site asp page permission problem
- From: Paul Baker [MVP, Windows Desktop Experience]
- Re: IIS default web site asp page permission problem
- From: Z.K.
- IIS default web site asp page permission problem
- Prev by Date: Zip files fail to download on IE only (not FF, etc)
- Next by Date: Re: Zip files fail to download on IE only (not FF, etc)
- Previous by thread: Re: IIS default web site asp page permission problem
- Next by thread: Re: IIS default web site asp page permission problem
- Index(es):
Relevant Pages
|