T
turbon
Hello,
I am writing code, which will copy webServices from one IIS 6.0
webserver to another and using DirentoryServices to achieve this
purpose. And I have problems with authentication - I get an error
whenever I try to read properties of DirectoryEntry object. I had same
problems when I was using WMI, but there setting
ConnectionOptions co = new ConnectionOptions();
co.Authentication = AuthenticationLevel.PacketPrivacy;
solved the problem.
So perhaps a question would be - how can I set AuthenticationLevel to
PacketPrivacy, when I am using DirectoryServices?
I am writing code, which will copy webServices from one IIS 6.0
webserver to another and using DirentoryServices to achieve this
purpose. And I have problems with authentication - I get an error
whenever I try to read properties of DirectoryEntry object. I had same
problems when I was using WMI, but there setting
ConnectionOptions co = new ConnectionOptions();
co.Authentication = AuthenticationLevel.PacketPrivacy;
solved the problem.
So perhaps a question would be - how can I set AuthenticationLevel to
PacketPrivacy, when I am using DirectoryServices?