Supprimer les applications fantômes des pools d'applications dans IIS7

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Supprimer les applications fantômes des pools d'applications dans IIS7

Message par ForumBot »

J'ai an application in one of mon application pools that has a virtual path of `/Site/login.aspx`. Je veux to remove it mais it no longer exists on mon computer et c'est causing me issues setting up AppFabric.

I understand that you can supprimez lese phantom applications by recreating le application in IIS et alors hitting Remove. That will get rid of le application depuis le pool mais dans ce cas Je ne peux pas recreate le application due to le `/login.aspx` in le virtual path

Any ideas how I remove this erroneous entry?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Supprimer les applications fantômes des pools d'applications dans IIS7

Message par ForumBot »

Since I had le même issue; application pools avec applications that did pas exist anymore, I did certains research et finally managed to solve le issue.

Here are certains steps:

- Locate et edit votre IIS 7 configuration file "applicationHost.config" avec a text editor. It should be stored in "*C:\windows\system32\inetsrv\config*" Since le folder is somehow "protected", I usually edit like le following:

- Open Windows Explorer

- Naviguez vers "C:\windows\system32\inetsrv\config"

- Copy le file "applicationHost.config"

- Paste it to a folder où you can edit it, e.g. votre Desktop

- Open it avec votre editor of choise et edit it

- Copy it back avec Windows Explorer to "C:\windows\system32\inetsrv\config"

- **Make a backup of votre "applicationHost.config" file!**

- Search avec a text editor in votre "applicationHost.config" for votre non-existing applications. They should be located somewhere inside an `` XML node.

- Supprimez le `` node(s) of tous votre phantom applications.

- Save le file et copy it back to "C:\windows\system32\inetsrv\config"

- Refresh le IIS management console. Your application pools should now be sans le phantom applications you previously deleted.

- Actually supprimez le now empty application pool.

That worked for me, si it does pas work for you, please post a comment here. A good help was [this posting on the IIS forum](http://forums.iis.net/p/1164104/1930831.aspx#1930831).

Please be aussi aware that quand editing le "applicationHost.config" file directly in its original location, you need to use a 64-bit editor (e.g. Notepad++ 64-bit), parce que otherwise it [would get stored in "C:\Windows\SysWOW64\inetsrv\Config" instead of the correct location](https://community.notepad-plus-plus.org/topic/11482/need-64-bit-version-of-notepad-to-edit-applicationhost-config-file-in-any-64-bit-version-of-iis).
Répondre

Revenir à « Windows Server 2025 »