# virtual directories in iis7.0 got deleted in windows 2008

After installing iis6.0 metabase compatibility and iis6.0 console in the iis7.0 ,i am not able to create new virtual directory in Default website( which is marked with a small red mark).

when i right click on" Default website",it generates following message box

"there was an error while performing this operation...the application '/' does not exist."

and i am working in the windows 2008 environment .can any one help me in getting back my old virtual directories in default website?

-

That sounds like the config file has a bad entry. If you click around your sites and vdirs in IIS Manager you will probably get an error there too when you click on the bad folder. See if you can delete it and create it again.

If you can't, take a look at c:\windows\system32\inetsrv\config\applicationHost.config and look for the bad vdir and manually clean up the config. Make sure to save a copy of the file before you start, or run appcmd add backup BeforeSabashTroubleshooting.

-

I tried Scott's solution, but clearing the entry in c:\windows\system32\inetsrv\config\applicationHost.config does clear the virtual directory in the front end(DNP). But once you create the V. folder again you get an error message , and then the page refreshes and you are again in a situation where you cannot delete the
V. dir.!!! which is my problem. Any help on this will be appreciated .

-
<application path="/">