tags:

views:

71

answers:

0

Hi All,

I am trying to create a virtual directory programatically using the following code, if works fine, but when I try to create with the same name again, I get exception. If I use diffrent names for virtual directory no issues, and I am actually deleting that virtual directory before creating it again

vRoot.Delete("IIsWebVirtualDir", VDirSavedSate("VirtualDir"))

Please guide me