G
Guest
Hi
I am sorry for posting the following dumb question but I have a problem and need help. I am a newbie in this area..
I am trying to translate an AD user name into an FDQN and then bind to the AD and read all attributes for the user
I am using VB.NET 2003 and have the ActiveDS reference loaded
I cut and pasted some example code (see below) but it doesn't work forme
Dim nto As ActiveDs.IADsNameTranslat
Dim dso As Strin
Dim trans As Strin
dso = "Wilson
nto.Init(1, Domain
nto.Set(3, dso
trans = nto.Get(1
Instead of getting a result I get the error message
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object
Source Error:
Line 44:
Line 45: dso = "Wilson
Line 46: nto.Init(1, Domain
Line 47:
Line 48: nto.Set(3, dso
Line 44 is highlighted
Can anyone else. I am also getting an intermittent error that reports
Compiler Error Message: BC31011: Unable to load referenced library 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\selfservice\db8553d0\167d2047\assembly\dl2\0d745bf6\0060a90f_c6f2c201\interop.activeds.dll': Access is denied
All help is appreciated
Wilson
I am sorry for posting the following dumb question but I have a problem and need help. I am a newbie in this area..
I am trying to translate an AD user name into an FDQN and then bind to the AD and read all attributes for the user
I am using VB.NET 2003 and have the ActiveDS reference loaded
I cut and pasted some example code (see below) but it doesn't work forme
Dim nto As ActiveDs.IADsNameTranslat
Dim dso As Strin
Dim trans As Strin
dso = "Wilson
nto.Init(1, Domain
nto.Set(3, dso
trans = nto.Get(1
Instead of getting a result I get the error message
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object
Source Error:
Line 44:
Line 45: dso = "Wilson
Line 46: nto.Init(1, Domain
Line 47:
Line 48: nto.Set(3, dso
Line 44 is highlighted
Can anyone else. I am also getting an intermittent error that reports
Compiler Error Message: BC31011: Unable to load referenced library 'c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\selfservice\db8553d0\167d2047\assembly\dl2\0d745bf6\0060a90f_c6f2c201\interop.activeds.dll': Access is denied
All help is appreciated
Wilson