[IIS6] Cannot Access IIS Metabase Through IIS Admin Objects
From: s-p-a-m (wmays_at_(s-p-a-m)forsythes.com.au)
Date: 07/05/05
- Previous message: David Wang [Msft]: "Re: Force Browser to Cache Images under SSL?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 5 Jul 2005 06:26:02 -0700
Hi,
I am currently in the process of upgrading a windows 2000 web server to
windows 2003 ...
The developer has created a staging system that transfers the website
between a development and production server, and then switches the home
directory of the website on the production machine - in effect creating a
instant transfer to the new version of the site.
However ...
Under Windows 2003 / IIS 6, The staging system fails when trying to read
properties from the metabase.
objMetabase = getObject("IIS://DEVEL/W3SVC")
This returns the error code '70 - Permission denied'
Adding the user invoking the script to the local administrators group fixes
the problem. This, however, seems to be a bad move security wise ... the less
users with admin rights the better!
Q285286 shows that (at least for IIS 4 and 5) the only way around this is to
add the user to the local admin group - it does not mention IIS 6 in the
applicability list.
Out of this, 2 questions:
- Has this KB article been revised / re-released for IIS 6?
- Is there a more secure way of getting this to work (preferably without
modifying the code)?
-- Regards, Will Mays
- Previous message: David Wang [Msft]: "Re: Force Browser to Cache Images under SSL?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|