Hello there,

I noticed a problem that was quite annoying on IIS 5 and that seems to
persist on IIS 6 as well. If you remove an app from IIS by simply deleting
the folder (not by clicking 'Remove' in the '%Virtual Folder% Properties'
dialog - Virtual Directory tab), the app settings remain in the metabase. If
I create a new web app using the same name as the previous app, the settings
are taken from the old app, since they were never removed. Is the IIS team
planning to implement a dependency check for deleting apps from the IIS MMC,
so that, if I do a 'Delete', besides from deleting the actual files, the
metabase entries would also be deleted? Or, is there a (supported or
unsupported) tool for removing dead metabase entries? In IIS 6 this kind of
maintenance is somewhat easier because I have access to the XML MetaBase;
however, I don't want to do this by hand. In IIS 5, I would probably need to
use the Automated Administration Interface, however, I haven't tried that
yet, as I want to find out whether there is a simpler way to do this.

Also, an ASP.NET related problem (although this may not be the appropriate
group): Visual Studio.NET makes creating web setup projects very simple.
However, I wasn't able to deploy a web application/web service to the root
folder of the web server. When reaching the setup step when I'm asked for
the destination folder, I cannot use '/' or the empty string or smth else to
indicate to the setup app that I want the files to be deployed in the root
folder. Is there any way to achieve this?

Thank you,
Ovidiu

RE: Some feature requests by timcof

timcof
Wed Dec 03 23:48:36 CST 2003

Actually, it seems that you are running into an issue where you delete the app, you have deleted it from the in-memory metabase. And you are probably
trying to create a new one with the same name, before the change has taken affect on the physical metabase. Try this:

Delete your app
recycle IIS (this forces a write from the in-memory metabase to the physical metabase); do not use IISRESET, but net stop iisadmin /y
recreate your app with the same name

In IIS6, you can edit the metabase live, and there is a checkbox for that in the properties of the machine in the ISM.

Thank you. I hope this information is helpful.

Tim Coffey [MSFT]

This posting is provided ?AS IS? with no warranties, and confers no rights. You assume all risk for your use. © 2001 Microsoft Corporation. All rights reserved.
--------------------
| From: "Ovidiu Platon" <ovidiupl@microsoft-lab.pub.ro.THIS_PART_IS_FAIRLY_INVALID>
| Subject: Some feature requests
| Date: Mon, 17 Nov 2003 11:01:25 +0200
| Lines: 29
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <#mNBmlOrDHA.2636@TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.inetserver.iis
| NNTP-Posting-Host: tide75.microsoft.com 213.199.128.149
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.inetserver.iis:284195
| X-Tomcat-NG: microsoft.public.inetserver.iis
|
| Hello there,
|
| I noticed a problem that was quite annoying on IIS 5 and that seems to
| persist on IIS 6 as well. If you remove an app from IIS by simply deleting
| the folder (not by clicking 'Remove' in the '%Virtual Folder% Properties'
| dialog - Virtual Directory tab), the app settings remain in the metabase. If
| I create a new web app using the same name as the previous app, the settings
| are taken from the old app, since they were never removed. Is the IIS team
| planning to implement a dependency check for deleting apps from the IIS MMC,
| so that, if I do a 'Delete', besides from deleting the actual files, the
| metabase entries would also be deleted? Or, is there a (supported or
| unsupported) tool for removing dead metabase entries? In IIS 6 this kind of
| maintenance is somewhat easier because I have access to the XML MetaBase;
| however, I don't want to do this by hand. In IIS 5, I would probably need to
| use the Automated Administration Interface, however, I haven't tried that
| yet, as I want to find out whether there is a simpler way to do this.
|
| Also, an ASP.NET related problem (although this may not be the appropriate
| group): Visual Studio.NET makes creating web setup projects very simple.
| However, I wasn't able to deploy a web application/web service to the root
| folder of the web server. When reaching the setup step when I'm asked for
| the destination folder, I cannot use '/' or the empty string or smth else to
| indicate to the setup app that I want the files to be deployed in the root
| folder. Is there any way to achieve this?
|
| Thank you,
| Ovidiu
|
|
|