Click here to Skip to main content
15,913,941 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
SQL
Hi,

When i try to get the users list available in active directory from remote machine with different domain first time it get successfully but the second time its throws the exception as "System.Runtime.InteropServices.COMException" from Directory Entry Ads Object

if i stop the application and restart it again then its works for first time again it raise exception for second time

can any help me to solve this.
Posted
Comments
Maciej Los 21-Nov-13 18:32pm    
Details, please, e.x.: error description, sample code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900