I'm attempting to populate a drop down list with the members of an OU. I found the following code at this link here:
https://www.experts-exchange.com/questions/24129714/Populate-a-dropdownlist-with-members-of-a-security-group-in-ASP-NET-VB.html?sfQueryTermInfo=1+10+dropdownlist+ou
I'm getting the error on the Imports ActiveDS statement. I had the same error on Imports System.Directory Services and corrected by adding: <add assembly="System.Directory
Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D
50A3A"/> to the web.config file.
Questions:
1. What's the entry for ActiveDS in web.config?
2. Is manually editing web.config the best way to go? I've seen people state that I need right click somewhere within the project and select "add reference" and then select a particular dll. I've checked around within the project, but haven't been able to get this option. No idea what's going on there.
3. Is ActiveDS the current preferred method? I've seen other people reference wanting to use deChildren method instead.
Thanks in advance.