in

Agramont.net

VP of Mural Consulting...SaaS Strategy & Execution. Accelerated.

Support for IIS 5.1

Last post 11-09-2006 4:18 AM by chrislongden. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-28-2006 11:36 AM

    Support for IIS 5.1

    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"... 

  • 11-09-2006 4:18 AM In reply to

    Re: Support for IIS 5.1

    Ack - I am getting the same exception trying to use the FrameWork to create a vitual directory under Win 2003.

    Conrad - is there any chance I could get a hold of the source and see if I can fix this problem, if your too busy?

    Cheers,
    Chris.

Page 1 of 1 (2 items)
Copyright Agramont.net, 2006. all rights reserved