I'm new to C#. I first created an EXE that uses AD .
It works ok. I am now creating a DLL to do the same thing.
<div></div> <div> //perform search on active directory</div> <div> sResults = dSearcher.FindAll(); // <= this is where it bombs off</div> <div></div> <div>I get error message "An operations
error occurred."</div> <div></div> <div>I added a manifest to the dll and I have</div> <div></div> <div><requestedExecutionLevel level="requireAdministrator" uiAccess="false" /></div>
<div></div> <div></div> <div>Suggestions on what to try now?</div> <div></div> <div>TIA</div> <div>Steve</div> <div></div> <div></div> <div></div>
Member
7 Points
26 Posts
C# DLL reading AD Active Directory
Mar 30, 2018 11:18 AM|sh|LINK
I'm new to C#. I first created an EXE that uses AD .
It works ok. I am now creating a DLL to do the same thing.
<div></div> <div> //perform search on active directory</div> <div> sResults = dSearcher.FindAll(); // <= this is where it bombs off</div> <div></div> <div>I get error message "An operations error occurred."</div> <div></div> <div>I added a manifest to the dll and I have</div> <div></div> <div><requestedExecutionLevel level="requireAdministrator" uiAccess="false" /></div> <div></div> <div></div> <div>Suggestions on what to try now?</div> <div></div> <div>TIA</div> <div>Steve</div> <div></div> <div></div> <div></div>