I have code that works on Win XP (IIS 5.1) and Win Server 2008 (IIS 7.0) but fails on the Windows 7 release candidate, which runs IIS 7.5.
I construct a new DirectoryEntry("IIS://localhost/w3svc"). The DirectoryEntry object returned by the constructor is no good. (Viewing members in debugger throws a COMException.)
Has anybody been working with IIS on Win 7 and found a resolution to this?