we are still using this IIS on the developers machines...
When i try following code:
Provware.Framework.Web.WebManager wm = new Provware.Framework.Web.WebManager();
WebServer ws = wm.Connect("localhost");
IEnumerator en = ws.Sites.GetEnumerator();
while(en.MoveNext())
{
Site site = en.Current as Site;
if (site == null)
continue;
VirtualDirectory dir = site.CreateVirtualDirectory("testXY", @"c:\inetpub\wwwroot\getmore", false);
dir.IIsWebVirtualDir.EnableDirBrowsing = true;
break;
}
It throws a nullreferenceexception on the "createVirtualDirectory"...