||Introduction to System.DirectoryServices, Part 1|
|Subject:||Good article, but I have a problem|
Excellent and interesting article. However I have tried this code in a VB.Net web app and have a problem. I have a button that fills a text box with AD usernames based on some text entered in a text box. This runs OK if I open a browser on the server, but fails on a client(logged in as same user), when I click the button. The error is 'An operations error has occured' and highlights the For Each statement. Code snippet below. Any ideas?
Thanks in advance.