tags:

views:

39

answers:

0

I need to view information about virtual directories in IIS on an XP machine (ie, IIS 5.1) from a remote computer.

I have used the DirectoryServices namespace in the past successfully, but I am unable to now because (I believe) it uses particular parts of ADSI that are only installed with IIS - so it cannot be used on a client machine that doesn't have IIS installed.

I've also used WMI / System.Management namespace to connect to and interact with IIS 6, but when I try this in IIS 5.1 I get an "Invalid Namespace " ManagementException.

My language/s is/are .NET (VB or C#, doesn't matter unless this is one of the rare difference in languages).