I am logging in windows authentication mode as admin and retrieving details of all user, and then when retrieving the details of a single user, I am geting the following exception at Line 198.
System.NullReferenceException: Object reference not set to an instance of an object.
Source Error...
am geting the following exception
: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 196: internal static string GetProperty(DirectoryEntry oDE, string PropertyName)
Line 197: {
Line 198: if...
Hello,
I am tyring to retrieve data from Active Directory and dipalying in a datatable and adding it to the GridView.
The Datatable is added to the gridview but the values r not dipalyed.
Below is the code could anyone trace out the problem and solve the problem.
public DataTable GetUsers()...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.