Re: IIS default web site asp page permission problem
- From: "Z.K." <nospam@xxxxxxxxxx>
- Date: Fri, 24 Jul 2009 14:29:07 -0700
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@xxxxxxxxxxxxxxxxxxxxxxxI 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:
- 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
- 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]
- IIS default web site asp page permission problem
- Prev by Date: Re: IIS default web site asp page permission problem
- Next by Date: Re: IIS7 on XP : Could not load file or assembly 'Microsoft.Web.Ad
- 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
|