To create a Website with a certain ID, you have to use the IIS
Administration APIs (WMI, ADSI, ABO) in VBScript, JScript, VB, or C.
This URL should have what you need to get the UI to assign IDs in the
previous fashion (third entry):
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iissd...is/ref_
--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Jaap" <cqmx-noreply RemoveThis @hotmail.com> wrote in message
news:OnUgo%23V7DHA.2924@tk2msftngp13.phx.gbl...
Hi,
First thing I always did after installing IIS is deleting the default web
site. Now in IIS 6.0 that one (the default web site) has a new config
option: the Metabase Identifier 1
Some programs do use the default website to add a virtual directory to it,
but with IIS 6.0 I can't set the default web site anymore. Now those
programs add their virtual dir. to a (in my eyes) random website in my
configuration. I don't want that. I want to control the web site where the
virtual dirs are added to.
So, my question is: how can I set a new default web site after I deleted the
one with MB identifier 1. (Or re-create the default website with identifier
1)
Jaap