I am trying to identify information in ActiveDirectory concerning the local IIS server. In the WinXP x32 world I have been starting with:
System.DirectoryServices.DirectoryEntry IIS = new System.DirectoryServices.DirectoryEntry("IIS://localhost/W3Svc/1/Root");
Howeve in the Win7 x64 world, I get an COMException when I try to access any properties of the DirectoryEntry object.
I am running as an administrator, so I doubt that it is a permission issue. I also tried opening the DirectoryEntry("BadEntry") and get the same results. I therefore suspect that the entry name is different in the Win7 x64 world.
What is the correct path to the default website in the Win7 x64 world?
View Complete Post