I have just recently moved a web site location from my C drive to my D drive.
My defualt website still points to C drive. So I made a virtual directory
pointing to the new location. I had several problems earlier this morning
with web authoring as well as ghost subwebs appearing in Front Page 2002
extensions administration. I used Check Server Health option and after a few
run throughs the ghosts were removed. I had removed the virtual directory
because I was trying to get something to work and now when I try to add the
virtual directory again IIS says I must use a unique Alias, even though the
one I want to use does not show up anywhere in administration or the snap-in.
I have tried editing out any mention of the site in my metabase.xml and
restarted IIS but that did not work. Any suggestions?

Windows Server 2003
IIS 6.0
Thanks,
Andrew Niemann

Re: IIS 6.0 + Alias by David

David
Sat Nov 06 02:06:07 CST 2004

Try:
1. NET STOP /y IISADMIN
2. Change metabase.xml to remove that alias definition
3. NET START W3SVC

You should be able to add the alias at this point.

I suspect that you didn't configure FrontPage correctly, and it somehow did
NOT delete that virtual directory correctly so you had a small corruption in
configuration (but no longer visible in the UI because its keytype is not
IIsWebVirtualDir) -- so you cannot delete nor create virtual directories
with that name. Directly changing metabase.xml or using admin API is the
only way to both cause and fix this problem.

In general, changes made to metabase.xml are ignored unless you have Edit
while running enabled (it is disabled by default). Changes made via admin
API (like ADSUTIL.VBS, *.vbs in System32 directory, etc) are immediately
active.

You just need to make sure that IISADMIN flushes those changes to disk
BEFORE it is stopped/killed by anything like IISRESET.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Shaker" <Shaker@discussions.microsoft.com> wrote in message
news:4587FC75-6670-4D57-B88E-A76A9BD27041@microsoft.com...
I have just recently moved a web site location from my C drive to my D
drive.
My defualt website still points to C drive. So I made a virtual directory
pointing to the new location. I had several problems earlier this morning
with web authoring as well as ghost subwebs appearing in Front Page 2002
extensions administration. I used Check Server Health option and after a few
run throughs the ghosts were removed. I had removed the virtual directory
because I was trying to get something to work and now when I try to add the
virtual directory again IIS says I must use a unique Alias, even though the
one I want to use does not show up anywhere in administration or the
snap-in.
I have tried editing out any mention of the site in my metabase.xml and
restarted IIS but that did not work. Any suggestions?

Windows Server 2003
IIS 6.0
Thanks,
Andrew Niemann