9

This is really simple if IIS6 but I can't seem to figure out how to convert an Application back into a Virtual Directory in IIS7 without having to delete it and recreate it from scratch.

RichC
  • 295
  • 1
  • 3
  • 7

2 Answers2

13

The wording is scary but "Remove" converts it back to a regular folder. It doesn't actually delete the folder itself as you may assume. So, the command is still in the right-click on the vdir itself.

Scott Forsyth
  • 16,449
  • 3
  • 37
  • 56
  • 5
    yes, but if the fodler doesn't exist in that parent's directory structure, it disappears for good and you have to go through and add it back in manually as a Virtual Directory. – RichC Oct 30 '09 at 20:00
0

You can just right-click the application and click to remove button. This will convert back to the Virtual Directory.

https://i.stack.imgur.com/UrC09.png

Hiren Parghi
  • 129
  • 1
  • 8
  • Why are folders being converted to applications when we don't even want them to be? we have to keep going through and deleting the applications that have been created in the subfolders when we want them to be just folders? – Theresa Forster Oct 09 '19 at 09:50
  • It shouldn't create a virtual application in IIS until you do that. – Hiren Parghi Oct 10 '19 at 01:43
  • When we load up in VS it creates some of the subprojects as applications when we don't want them and in a project with 140 sub projects removing them is a pain and keeps being forgotton, We just want to know why it is being made as an application and can we stop it. – Theresa Forster Oct 10 '19 at 07:27
  • I believe you are referring to Visual studio with VS. That is another issue and you will need to check logs for this. – Hiren Parghi Nov 19 '19 at 15:44