I am getting the following error when I am trying to build my website,
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS
I am using IIS express for my website and created a virtual directory and mapped in to a directory. Just found out since I have not mapped the virtual directory to an application it gives this error message. I cannot remove the virtual directory When I try to remove it from my website project.
My question is do I have to do anything else to remove the virtual directory from my web site project.