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.

2 Answers 2

12

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.

1
  • 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, 2009 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

4
  • 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? Oct 9, 2019 at 9:50
  • It shouldn't create a virtual application in IIS until you do that. Oct 10, 2019 at 1: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. Oct 10, 2019 at 7:27
  • I believe you are referring to Visual studio with VS. That is another issue and you will need to check logs for this. Nov 19, 2019 at 15:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.