Hi,

> I tried bring back a collection of the /LM/W3SVC which the .NET doc's
say > but its NULL.

I had a similar problem, and it turned out to be an authentication
problem. Try to use the constructor of DirectoryEntry where you can
specify the credentials. To use Windows Integrated authentication, set
the authentication type to "Secure", and the user name and password to
null, like this:
DirectoryEntry entry = new DirectoryEntry(path, null, null,
AuthenticationTypes.Secure)

Regards
  Csaba

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to