David Levine
10/9/2003 12:41:00 AM
>
> I couldn't get your code to run, BTW, but i have something similar that
> assumes the default site. Problem is that if it's not hte default site.
>
> When I run your code .Exists fails when I pass my VDir. What format shoudl
> this be in? I used ("wwWebStore") or ("/wwWebStore") neither of which
worked
> even though this is a site on the local serrver default site.
>
> Thanks for your help,
>
The path must be in the form "IIS://localhost/W3SVC/1/ROOT/VirtualDirPath"
where VirtualDirPath is the name of your local directory, such as
"MyRootDir/My1stSubDir/MyLastSubDir". In your case it would be
"IIS://localhost/W3SVC/1/ROOT/wwWebStore". Make sure you use a forward slash
to delimit path elements and not a backslash.
You should be able to google up some samples easily enough.