Re: IIS default web site asp page permission problem

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



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.


.



Relevant Pages

  • Re: How to display the "Access Denied" page directly without the a
    ... authentication on whatever the link is pointing to. ... say "it is Shareponit's default behavior to pop up that login box ... whenever user tries to access the sharepoint page to which he/she does ... not the permission", I am referring to the Sharepoint access ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Web Authentication
    ... Please use such programs only if you have a permission from the ... make a brute force attack to htaccess? ... but i dont know any other ways of authentication. ... scripts in those directories are wirted in PHP Perl and CGI scripting. ...
    (Security-Basics)
  • Re: How to display the "Access Denied" page directly without the annoying Sharepoint login box?
    ... What is your default permission on the site in IIS? ... My tip is still that you concentrate on authentication to your website ... This actually sounds like a network login box from the way you ... Sharepoint site. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Now no access to two folders
    ... I'd have to say I'm using Guest authentication, ... access to two of the user accounts on the laptop. ... You might not have permission to ...
    (microsoft.public.windowsxp.network_web)
  • Re: II6.0 ISAPI & MIME types
    ... that means username/password are looked ... No windows authentication is done. ... which has read/write permission set. ... What is the difference between MIME types & ISAPI filter. ...
    (microsoft.public.inetserver.iis.security)